ddadmin said it correctly:
Code:
jQuery(document).ready(function($){
if( /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent))
return //exit
var $targets=$('.magnify')
I had to change it from
Code:
if( !(/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent))) {
return //exit
}
to
Code:
if( /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent))
return;
because the first one was saying if its not one of those mobile devices then exit. The second one says if it is one of these then exit
Bookmarks