Kaynağa Gözat

responsive : viewmodes

Signed-off-by: bachy <git@g-u-i.net>
bachy 12 yıl önce
ebeveyn
işleme
2d18c524eb

Dosya farkı çok büyük olduğundan ihmal edildi
+ 0 - 0
js/materio_search_api_ajax-ck.js


+ 5 - 3
js/materio_search_api_ajax.js

@@ -258,10 +258,12 @@ MaterioSearchApiAjax = function(){
   function initViewMode(){
     $('.viewmode-link').click(function(event){
       event.preventDefault();
-      
-      if(!$(this).is('.active'))
+      if(!$(this).is('.active')){
+        $(this).trigger({type:'vm-clicked'});
         changeViewMode($(this).attr('rel'), $(this));
-
+      }else{
+        $(this).trigger({type:'vm-clicked-active'});
+      }
       return false;
     });
   };

Bu fark içinde çok fazla dosya değişikliği olduğu için bazı dosyalar gösterilmiyor