Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

trying to optimize picture preview for mobile

  • Loading branch information...
commit 0b8dd248c5e3a01ea987730942e6901e40cd8f1c 1 parent 22fbf75
Sukhada Kulkarni authored March 15, 2013

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  reddit.js
2  reddit.js
@@ -284,7 +284,7 @@ if ($(window).width() < 704) {
284 284
     var link = $(this).attr('href');    
285 285
     if (link != undefined) {  
286 286
     console.log('defined!');  
287  
-        $(document).on('touchstart touchend', 'a', function(e) {
  287
+        $(document).on('mouseenter', 'a', function(e) {
288 288
           if (($(this).attr('href').indexOf("i.imgur") != -1) || 
289 289
               ($(this).attr('href').indexOf("jpg") != -1) || 
290 290
               ($(this).attr('href').indexOf("png") != -1) ||

0 notes on commit 0b8dd24

Please sign in to comment.
Something went wrong with that request. Please try again.