URL hash doesn't always get removed after popup closes (jQuery Mobile) -


i'm having problem url hash, #&ui-state=dialog, doesn't removed url after popup closes. seems cause problem if open popup again , close it, after closing it, page content reloads, messes page layout, since ajax refresh , page layout things determined in $(document).ready() (i know i'm not supposed use .ready() jquery mobile, works me purposes of page).

there's no consistency how many times open/close popup url hash still remain. happens @ around 2nd, 3rd, or 4th open/close.

i'm guessing reload happening because when popup closed go "back", if starting , ending url same messes up? i'm 100% sure hash problem because tried visiting page #&ui-state=dialog hash manually put in, , when open , close popup, page refreshes first time open/close it.


Comments