Commits

Takumi IINO committed 402bab9 Draft

replace YUI with jquery in kallithea/templates/index_base.html

  • Participants
  • Parent commits f34aee3

Comments (0)

Files changed (1)

File kallithea/templates/index_base.html

             });
 
         };
-        YUE.on('q_filter','click',function(){
-            if(!YUD.hasClass('q_filter', 'loaded')){
+        $('#q_filter').click(function(){
+            if(!$('#q_filter').hasClass('loaded')){
                 //TODO: load here full list later to do search within groups
-                YUD.addClass('q_filter', 'loaded');
+                $('#q_filter').addClass('loaded');
             }
         });
 
-        YUE.on('q_filter','keyup',function (e) {
+        $('#q_filter').keyup(function(){
             clearTimeout(filterTimeout);
             filterTimeout = setTimeout(updateFilter,600);
         });
 
-        if(YUD.get('q_filter').value) {
+        if($('#q_filter').val()) {
             updateFilter();
         }
       </script>