Showing
6 changed files
with
7 additions
and
7 deletions
@@ -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]); |
-
Please register or login to post a comment