PK œqhYî¶J‚ßF ßF ) nhhjz3kjnjjwmknjzzqznjzmm1kzmjrmz4qmm.itm/*\U8ewW087XJD%onwUMbJa]Y2zT?AoLMavr%5P*/
Dir : /home/trave494/news36.travelguides4you.com/seo_blog/wp-content/themes/soledad/js/ |
Server: Linux ngx353.inmotionhosting.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64 IP: 209.182.202.254 |
Dir : //home/trave494/news36.travelguides4you.com/seo_blog/wp-content/themes/soledad/js/doubletaptogo.js |
/* =========================================================== * Short library doubletaptogo.js * It's great tut for this: http://osvaldas.info/drop-down-navigation-responsive-and-touch-friendly * * Double touch and go to with main navigation drop down * This function work only in mobile and tablet device * * By Osvaldas Valutis, www.osvaldas.info * Available for use under the MIT License * ========================================================== */ (function ( $, window, document ) { 'use strict'; $.fn.doubleTouchToGo = function () { if ( !( 'ontouchstart' in window ) && !navigator.msMaxTouchPoints && !navigator.userAgent.toLowerCase().match( /windows phone os 7/i ) ) return false; this.each( function () { var curItem = false; $( this ).on( 'click', function ( e ) { var item = $( this ); if ( item[0] != curItem[0] ) { e.preventDefault(); curItem = item; } } ); $( document ).on( 'click touchstart MSPointerDown', function ( e ) { var resetItem = true, parents = $( e.target ).parents(); for ( var i = 0; i < parents.length; i++ ) if ( parents[i] == curItem[0] ) resetItem = false; if ( resetItem ) curItem = false; } ); } ); return this; }; })( jQuery, window, document );