diff --git a/src/Ui/media/Wrapper.coffee b/src/Ui/media/Wrapper.coffee index 6f31bcd1..927c8f0f 100644 --- a/src/Ui/media/Wrapper.coffee +++ b/src/Ui/media/Wrapper.coffee @@ -424,7 +424,7 @@ class Wrapper if site_info.content window.document.title = site_info.content.title+" - ZeroNet" @log "Required file done, setting title to", window.document.title - if not $(".loadingscreen").length # Loading screen already removed (loaded +2sec) + if not window.show_loadingscreen @notifications.add("modified", "info", "New version of this page has just released.
Reload to see the modified content.") # File failed downloading else if site_info.event[0] == "file_failed" diff --git a/src/Ui/media/all.js b/src/Ui/media/all.js index ecf9ddac..f597fe02 100644 --- a/src/Ui/media/all.js +++ b/src/Ui/media/all.js @@ -1370,7 +1370,7 @@ jQuery.extend( jQuery.easing, window.document.title = site_info.content.title + " - ZeroNet"; this.log("Required file done, setting title to", window.document.title); } - if (!$(".loadingscreen").length) { + if (!window.show_loadingscreen) { this.notifications.add("modified", "info", "New version of this page has just released.
Reload to see the modified content."); } }