afuna: Cat under a blanket. Text: "Cats are just little people with Fur and Fangs" (Default)
afuna ([personal profile] afuna) wrote in [site community profile] changelog2009-05-16 04:50 pm

[dw-free] Transmogrified tags page malformed in Google Chrome

[commit: http://hg.dwscoalition.org/dw-free/rev/800b3f476b9f]

http://bugs.dwscoalition.org/show_bug.cgi?id=1187

Add tags-container div around the tags page

Patch by [personal profile] wyntarvox.

Files modified:
  • bin/upgrading/s2layers/core2.s2
--------------------------------------------------------------------------------
diff -r c281729b23e5 -r 800b3f476b9f bin/upgrading/s2layers/core2.s2
--- a/bin/upgrading/s2layers/core2.s2	Sat May 16 16:40:32 2009 +0000
+++ b/bin/upgrading/s2layers/core2.s2	Sun May 17 00:50:24 2009 +0800
@@ -4568,7 +4568,7 @@ function ReplyPage::print_body
 
 function TagsPage::print_body
 {
-    print safe "<h2>$*text_tags_page_header</h2>";
+    print safe "<div class='tags-container'><h2>$*text_tags_page_header</h2>";
 
     if ($*tags_page_type == "multi") {
         print_multilevel_tags($.tags, { "list-class" => "ljtaglist", "text_uses" => "text_tag_uses" });
@@ -4582,6 +4582,8 @@ function TagsPage::print_body
         print_list_tags($.tags, { "list-class" => "ljtaglist" });
         print_tag_manage_link();
     }
+    
+    print safe "</div>";
 }
 
 ### MessagePage functions
--------------------------------------------------------------------------------