1. Takumi IINO
  2. kallithea

Commits

Takumi IINO  committed f703ebe Draft

templates: replace YUI with jquery in kallithea/templates/journal/journal_data.html

  • Participants
  • Parent commits 4b6c821
  • Branches default

Comments (0)

Files changed (1)

File kallithea/templates/journal/journal_data.html

View file
  • Ignore whitespace
   </div>
     <script type="text/javascript">
     $(document).ready(function(){
-        YUE.delegate("journal","click",function(e, matchedEl, container){
+        $('#journal .pager_link').clock(function(e){
             ypjax(e.target.href,"journal",function(){
                 show_more_event();
                 tooltip_activate();
                 show_changeset_tooltip();
-                });
-            YUE.preventDefault(e);
-        },'.pager_link');
+            });
+            e.preventDefault();
+        });
     });
     </script>
 %else: