소스 검색

responsive : viewmodes

Signed-off-by: bachy <git@g-u-i.net>
bachy 12 년 전
부모
커밋
2d18c524eb
2개의 변경된 파일5개의 추가작업 그리고 3개의 파일을 삭제
  1. 0 0
      js/materio_search_api_ajax-ck.js
  2. 5 3
      js/materio_search_api_ajax.js

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 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;
     });
   };

이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.