0byt3m1n1
Path:
/
home1
/
aserty
/
public_html
/
bonniescraftygifts.com
/
iFzj4
/
configCHM
/
Jump
/
0-aserty
/
beatlesmontreal.com
/
wp-contentebbd3f
/
plugins
/
wptouch-pro
/
themes
/
cms
/
default
/
[
Home
]
File: cms.js
/* WPtouch CMS Theme Js File */ function doCmsReady() { // Triggers focus on the search field when the search tab item is clicked jQuery( '#search-menu-button' ).on( 'click', function(){ jQuery( '#search-text' ).focus(); }); // Helps with usability and the fastclick module— it's too fast and triggers taps too quickly! jQuery( '#section-slider a' ).each( function(){ jQuery( this ).addClass( 'needsclick' ); }); cmsWebApp(); } function cmsWebApp(){ jQuery( window ).resize( function() { var windowHeight = ( jQuery( window ).height() - 142 ); if ( jQuery( 'body.web-app-mode.ios7.smartphone.portrait' ).length ) { jQuery( '.wptouch-menu' ).css( 'max-height', windowHeight ); } if ( jQuery( 'body.web-app-mode.ios7.smartphone.landscape' ).length ) { jQuery( '.wtouch-menu' ).css( 'max-height', windowHeight ); } }).resize(); if ( jQuery( 'body.web-app-mode.ios7' ).length ) { jQuery( 'body' ).prepend( '<span class="fixed-header-fill"></span>' ); /* No touchmove, please */ jQuery( '#header-title-logo' ).each( function(){ jQuery( this ).on( 'touchmove', function( e ){ e.preventDefault(); } ); }); } } jQuery( document ).ready( function() { doCmsReady(); } );