Showing
1 changed file
with
2 additions
and
3 deletions
@@ -212,10 +212,9 @@ $.extend({ | @@ -212,10 +212,9 @@ $.extend({ | ||
212 | }); | 212 | }); |
213 | } | 213 | } |
214 | if ($floatTop.length > 0) { | 214 | if ($floatTop.length > 0) { |
215 | - floatTopHammer = new Hammer($floatTop[0]); | ||
216 | - floatTopHammer.on('tap', function(e) { | 215 | + $floatTop.on('click', function(e) { |
217 | $(window).scrollTop(0); | 216 | $(window).scrollTop(0); |
218 | - e.srcEvent.preventDefault(); | 217 | + e.preventDefault(); |
219 | return false; | 218 | return false; |
220 | }); | 219 | }); |
221 | } | 220 | } |
-
Please register or login to post a comment