diff --git a/ext/index/script.js b/ext/index/script.js index 6c3078c0..c220d53b 100644 --- a/ext/index/script.js +++ b/ext/index/script.js @@ -1,5 +1,5 @@ $(function() { - var blocked_tags = ($.cookie("ui-blocked-tags") || $.cookie("blocked-tags") || "").split(" "); + var blocked_tags = ($.cookie("ui-blocked-tags") || "").split(" "); var themecheck = $(".thumb[data-tags]").parent().attr('class'); var needs_refresh = false; for(i=0; ibuild_thumb_html($image, $query); } + $table .= ""; return $table; } } diff --git a/themes/danbooru/index.theme.php b/themes/danbooru/index.theme.php index eb8d424a..79e02e6a 100644 --- a/themes/danbooru/index.theme.php +++ b/themes/danbooru/index.theme.php @@ -49,10 +49,11 @@ class CustomIndexTheme extends IndexTheme { } protected function build_table($images, $query) { - $table = ""; + $table = "
"; foreach($images as $image) { $table .= "\t" . $this->build_thumb_html($image, $query) . "\n"; } + $table .= "
"; return $table; } }