noko50 + expand.js: make it interoperate

This commit is contained in:
czaks 2013-08-11 17:59:17 -04:00
parent 92edc1d0a5
commit b5bba48edf

View File

@ -12,8 +12,8 @@
*/ */
$(document).ready(function(){ $(document).ready(function(){
if($('div.banner').length != 0) if($('span.omitted').length == 0)
return; // not index return; // nothing to expand
var do_expand = function() { var do_expand = function() {
$(this) $(this)