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-21 02:31 pm

[dw-free] core2 missing ul tag on day navigation

[commit: http://hg.dwscoalition.org/dw-free/rev/7c1309711c17]

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

Fix logic for printing out the <ul>

Patch by [personal profile] wyntarvox.

Files modified:
  • bin/upgrading/s2layers/core2.s2
--------------------------------------------------------------------------------
diff -r 166ae55e4a25 -r 7c1309711c17 bin/upgrading/s2layers/core2.s2
--- a/bin/upgrading/s2layers/core2.s2	Wed May 20 18:21:46 2009 +0000
+++ b/bin/upgrading/s2layers/core2.s2	Thu May 21 14:30:55 2009 +0000
@@ -4329,7 +4329,7 @@ function DayPage::print_body() {
 }
 
 function DayPage::print_navigation() [fixed] {
-    var bool empty = $.prev_url == "" and $.prev_url == "";    
+    var bool empty = $.prev_url == "" and $.next_url == "";
     """
     <div class="navigation">
         <div class="inner">
--------------------------------------------------------------------------------

Post a comment in response:

This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

If you are unable to use this captcha for any reason, please contact us by email at support@dreamwidth.org