Authored by uedxwg

hotfix

@@ -32,10 +32,10 @@ var navHammer; @@ -32,10 +32,10 @@ var navHammer;
32 $('#search-input').focus(function() { 32 $('#search-input').focus(function() {
33 $(this).blur(); 33 $(this).blur();
34 }); 34 });
35 -$nav.bind("contextmenu", function(e) { 35 +$nav.bind('contextmenu', function(e) {
36 return false; 36 return false;
37 }); 37 });
38 -$('.category-container').bind("contextmenu", function(e) { 38 +$('.category-container').bind('contextmenu', function(e) {
39 return false; 39 return false;
40 }); 40 });
41 41
@@ -56,7 +56,7 @@ info.initInfosEvt($infoList); @@ -56,7 +56,7 @@ info.initInfosEvt($infoList);
56 }; 56 };
57 }); 57 });
58 }()); 58 }());
59 -$nav.bind("contextmenu", function(e) { 59 +$nav.bind('contextmenu', function(e) {
60 return false; 60 return false;
61 }); 61 });
62 navHammer = new Hammer($nav[0]); 62 navHammer = new Hammer($nav[0]);
@@ -20,7 +20,7 @@ mySwiper = new Swiper('.swiper-container', { @@ -20,7 +20,7 @@ mySwiper = new Swiper('.swiper-container', {
20 lazyLoading: true, 20 lazyLoading: true,
21 pagination: '.swiper-pagination' 21 pagination: '.swiper-pagination'
22 }); 22 });
23 -$('#nav-tab').bind("contextmenu", function(e) { 23 +$('#nav-tab').bind('contextmenu', function(e) {
24 return false; 24 return false;
25 }); 25 });
26 navHammer = new Hammer(document.getElementById('nav-tab')); 26 navHammer = new Hammer(document.getElementById('nav-tab'));
@@ -282,7 +282,7 @@ writeSearch.bindWirteLocal($('#search-form')); @@ -282,7 +282,7 @@ writeSearch.bindWirteLocal($('#search-form'));
282 //4.筛选有active时点击隐藏筛选面板并恢复点击筛选前active项的active状态 282 //4.筛选有active时点击隐藏筛选面板并恢复点击筛选前active项的active状态
283 //5.当前active为筛选并且点击其他项时,隐藏筛选面板 283 //5.当前active为筛选并且点击其他项时,隐藏筛选面板
284 284
285 -$listNav.bind("contextmenu", function(e) { 285 +$listNav.bind('contextmenu', function(e) {
286 return false; 286 return false;
287 }); 287 });
288 navHammer = new Hammer($listNav[0]); 288 navHammer = new Hammer($listNav[0]);
@@ -263,7 +263,7 @@ lazyLoad($('.lazy')); @@ -263,7 +263,7 @@ lazyLoad($('.lazy'));
263 //3.筛选无active时点击展开筛选面板 263 //3.筛选无active时点击展开筛选面板
264 //4.筛选有active时点击隐藏筛选面板并恢复点击筛选前active项的active状态 264 //4.筛选有active时点击隐藏筛选面板并恢复点击筛选前active项的active状态
265 //5.当前active为筛选并且点击其他项时,隐藏筛选面板 265 //5.当前active为筛选并且点击其他项时,隐藏筛选面板
266 -$listNav.bind("contextmenu", function(e) { 266 +$listNav.bind('contextmenu', function(e) {
267 return false; 267 return false;
268 }); 268 });
269 navHammer = new Hammer($listNav[0]); 269 navHammer = new Hammer($listNav[0]);
@@ -285,7 +285,7 @@ $.ajax({ @@ -285,7 +285,7 @@ $.ajax({
285 }); 285 });
286 lazyLoad($('.lazy')); 286 lazyLoad($('.lazy'));
287 287
288 -$listNav.bind("contextmenu", function(e) { 288 +$listNav.bind('contextmenu', function(e) {
289 return false; 289 return false;
290 }); 290 });
291 291