changeset 4466:cf2af0dbb3a0

templates: replace YUI with jquery in kallithea/templates/changelog/changelog_summary_data.html
author Takumi IINO <trot.thunder@gmail.com>
date Tue, 22 Jul 2014 00:46:23 +0900
parents 766ed8058a4a
children 4fab900c9fb4
files kallithea/templates/changelog/changelog_summary_data.html
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/kallithea/templates/changelog/changelog_summary_data.html	Tue Jul 22 00:46:19 2014 +0900
+++ b/kallithea/templates/changelog/changelog_summary_data.html	Tue Jul 22 00:46:23 2014 +0900
@@ -70,10 +70,10 @@
 
 <script type="text/javascript">
   $(document).ready(function(){
-    YUE.delegate("shortlog_data","click",function(e, matchedEl, container){
-        ypjax(e.target.href,"shortlog_data",function(){tooltip_activate();});
-        YUE.preventDefault(e);
-    },'.pager_link');
+    $('#shortlog_data').on('click','.pager_link',function(e){
+      ypjax(e.target.href,"shortlog_data",function(){tooltip_activate();});
+      e.preventDefault();
+    });
   });
 </script>