jquery mobile multipage app, chrome navigates multiple times to domain -


i have jquery-mobile multipage app (pure client-side)

works on ff, chrome navigates multiple times domain

i included alerts (indicating event , hash of url) in 2 events:
- $( document ).one("pageshow", '.page',function() {
- $( window ).on("navigate", function() {

pageshow has .one attachment, still triggered multiple times.

that caused src="#" attributes of iframes inside popup divs. changed src="#" src="". (i change src of iframe when popup poping-up prevent unnesesery loads of map.html)


Comments

Popular posts from this blog

css - Which browser returns the correct result for getBoundingClientRect of an SVG element? -

gcc - Calling fftR4() in c from assembly -

.htaccess - Matching full URL in RewriteCond -