Showing
4 changed files
with
6 additions
and
6 deletions
@@ -140,7 +140,7 @@ exports.init = function() { | @@ -140,7 +140,7 @@ exports.init = function() { | ||
140 | $('#brand-like').bind('touchstart', function(e) { | 140 | $('#brand-like').bind('touchstart', function(e) { |
141 | var $cur, | 141 | var $cur, |
142 | id; | 142 | id; |
143 | - if (isLogin === 'N') { | 143 | + if (isLogin === 'Y') { |
144 | $cur = $(this); | 144 | $cur = $(this); |
145 | id = $(this).closest('.brand-info').data('id'); | 145 | id = $(this).closest('.brand-info').data('id'); |
146 | 146 | ||
@@ -164,7 +164,7 @@ exports.init = function() { | @@ -164,7 +164,7 @@ exports.init = function() { | ||
164 | }); | 164 | }); |
165 | } | 165 | } |
166 | }).bind('click', function(e) { | 166 | }).bind('click', function(e) { |
167 | - if (isLogin === 'N') { | 167 | + if (isLogin === 'Y') { |
168 | //阻止链接跳转 | 168 | //阻止链接跳转 |
169 | e.preventDefault(); | 169 | e.preventDefault(); |
170 | } | 170 | } |
@@ -88,7 +88,7 @@ exports.init = function() { | @@ -88,7 +88,7 @@ exports.init = function() { | ||
88 | }); | 88 | }); |
89 | } | 89 | } |
90 | }).delegate('.good-islike', 'click', function(e) { | 90 | }).delegate('.good-islike', 'click', function(e) { |
91 | - if (isLogin === 'N') { | 91 | + if (isLogin === 'Y') { |
92 | e.preventDefault(); | 92 | e.preventDefault(); |
93 | } | 93 | } |
94 | }); | 94 | }); |
@@ -412,7 +412,7 @@ exports.init = function() { | @@ -412,7 +412,7 @@ exports.init = function() { | ||
412 | var $cur, | 412 | var $cur, |
413 | $good, | 413 | $good, |
414 | id; | 414 | id; |
415 | - if (isLogin === 'N') { | 415 | + if (isLogin === 'Y') { |
416 | $cur = $(e.currentTarget); | 416 | $cur = $(e.currentTarget); |
417 | $good = $cur.closest('.good-info'); | 417 | $good = $cur.closest('.good-info'); |
418 | id = $good.data('id'); | 418 | id = $good.data('id'); |
@@ -437,7 +437,7 @@ exports.init = function() { | @@ -437,7 +437,7 @@ exports.init = function() { | ||
437 | }); | 437 | }); |
438 | } | 438 | } |
439 | }).delegate('.good-islike', 'click', function(e) { | 439 | }).delegate('.good-islike', 'click', function(e) { |
440 | - if (isLogin === 'N') { | 440 | + if (isLogin === 'Y') { |
441 | e.preventDefault(); | 441 | e.preventDefault(); |
442 | } | 442 | } |
443 | }); | 443 | }); |
-
Please register or login to post a comment