Navigate to the page twice (jquery mobile bug ??) -


i had page simple jquery mobile codes this.

$(document).on('pageinit', function() {    $.mobile.navigate('/home'); }); 

when load page. instead of redirect 'home' page, redirects 'home' page, redirect page, after redirects 'home' again , end here. how fix issue ? thanks. btw, if set timeout navigate function 1 second example, it'll work correctly. don't know why ?


Comments

Popular posts from this blog

Spring Boot + JPA + Hibernate: Unable to locate persister -

go - Golang: panic: runtime error: invalid memory address or nil pointer dereference using bufio.Scanner -

c - double free or corruption (fasttop) -