Mercurial > kallithea
changeset 4469:2abe7aa0ea40
templates: replace YUI with jquery in kallithea/templates/journal/journal_data.html
author | Takumi IINO <trot.thunder@gmail.com> |
---|---|
date | Tue, 22 Jul 2014 00:46:25 +0900 |
parents | 42a620ae68d7 |
children | f900bcadd20a |
files | kallithea/templates/journal/journal_data.html |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/kallithea/templates/journal/journal_data.html Tue Jul 22 00:46:24 2014 +0900 +++ b/kallithea/templates/journal/journal_data.html Tue Jul 22 00:46:25 2014 +0900 @@ -40,14 +40,14 @@ </div> <script type="text/javascript"> $(document).ready(function(){ - YUE.delegate("journal","click",function(e, matchedEl, container){ + $('#journal').on('click','.pager_link',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: