File diff suppressed because one or more lines are too long
@@ -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;
|
||||
});
|
||||
};
|
||||
|
Reference in New Issue
Block a user