Comments Tzion started the conversationAugust 27, 2015 at 11:03amHi ,when I go back with the browser back button(safari/FF)from my blog page or other url, i'm stuck with the preloader 1,973Support repliedAugust 28, 2015 at 2:50amHi there, it’s most likely because back button does not trigger window.unload event in Firefox and Safari which is used to hide the preloader.More info here: http://bugs.jquery.com/ticket/8684 If you wish a page reload just bind an event to to window.unload$(window).unload(function(){}); in /js/scripts.jsThanksThank you. Clapat Support https://www.clapat.com/ Review Envato Item Support PolicyTzion repliedAugust 30, 2015 at 12:15pmHi,thank you, but does it mean to put all the script that in the file within the unload().? 1,973Support repliedAugust 31, 2015 at 7:05pmHi there,It can be at line 6, after the window.load event handlerbut actually I realize you should use jQuery instead of $jQuery(window).unload(function(){}); ThanksThank you. Clapat Support https://www.clapat.com/ Review Envato Item Support Policy 1,973Support repliedAugust 31, 2015 at 7:06pmYou just have to add this empty unload event handlerThank you. Clapat Support https://www.clapat.com/ Review Envato Item Support PolicyTzion repliedSeptember 2, 2015 at 11:21amThank you very much!Problem Solved. Sign in to reply ...
Hi ,
when I go back with the browser back button(safari/FF)
from my blog page or other url, i'm stuck with the preloader
Hi there, it’s most likely because back button does not trigger window.unload event in Firefox and Safari which is used to hide the preloader.
More info here: http://bugs.jquery.com/ticket/8684
If you wish a page reload just bind an event to to window.unload
in /js/scripts.js
Thanks
Thank you.
Clapat Support
https://www.clapat.com/
Review Envato Item Support Policy
Hi,
thank you, but does it mean to put all the script that in the file within the unload().?
Hi there,
It can be at line 6, after the window.load event handler
but actually I realize you should use jQuery instead of $
Thanks
Thank you.
Clapat Support
https://www.clapat.com/
Review Envato Item Support Policy
You just have to add this empty unload event handler
Thank you.
Clapat Support
https://www.clapat.com/
Review Envato Item Support Policy
Thank you very much!
Problem Solved.