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
Post a Comment