changeset 4467:4fab900c9fb4

templates: replace YUI with jquery in kallithea/templates/followers/followers_data.html
author Takumi IINO <trot.thunder@gmail.com>
date Tue, 22 Jul 2014 00:46:24 +0900
parents cf2af0dbb3a0
children 42a620ae68d7
files kallithea/templates/followers/followers_data.html
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/kallithea/templates/followers/followers_data.html	Tue Jul 22 00:46:23 2014 +0900
+++ b/kallithea/templates/followers/followers_data.html	Tue Jul 22 00:46:24 2014 +0900
@@ -18,14 +18,14 @@
 <div class="pagination-wh pagination-left">
 <script type="text/javascript">
 $(document).ready(function(){
-    YUE.delegate("followers","click",function(e, matchedEl, container){
+    $('#followers').on('click','.pager_link',function(e){
         ypjax(e.target.href,"followers",function(){
             show_more_event();
             tooltip_activate();
             show_changeset_tooltip();
         });
-        YUE.preventDefault(e);
-    },'.pager_link');
+        e.preventDefault();
+    });
 });
 </script>
 ${c.followers_pager.pager('$link_previous ~2~ $link_next')}