mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-02-24 23:10:02 +00:00
Stop clearing the location hash for tw-browser-refresh
This commit is contained in:
parent
ba087c96c2
commit
e47852cb14
@ -51,7 +51,6 @@ exports.startup = function() {
|
|||||||
},false)
|
},false)
|
||||||
// Listen for the tw-browser-refresh message
|
// Listen for the tw-browser-refresh message
|
||||||
$tw.rootWidget.addEventListener("tw-browser-refresh",function(event) {
|
$tw.rootWidget.addEventListener("tw-browser-refresh",function(event) {
|
||||||
window.location.hash = "";
|
|
||||||
window.location.reload(true);
|
window.location.reload(true);
|
||||||
});
|
});
|
||||||
// Listen for the tw-home message
|
// Listen for the tw-home message
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
created: 20140819110529062
|
created: 20140819110529062
|
||||||
modified: 20140819110529062
|
modified: 20140826110529062
|
||||||
tags: message
|
tags: message
|
||||||
title: WidgetMessage: tw-browser-refresh
|
title: WidgetMessage: tw-browser-refresh
|
||||||
type: text/vnd.tiddlywiki
|
type: text/vnd.tiddlywiki
|
||||||
|
|
||||||
The `tw-browser-refresh` message removs any [[permalink|PermaLinks]] from the browser address bar and refreshes the page, causing the re-display of the [[$:/DefaultTiddlers]], and re-initialisation of any plugin tiddlers. It does not require any properties on the `event` object.
|
The `tw-browser-refresh` message refreshes the page, causing the re-initialisation of any plugin tiddlers. It does not require any properties on the `event` object.
|
||||||
|
|
||||||
The refresh message is usually generated with the ButtonWidget and is handled by the core.
|
The refresh message is usually generated with the ButtonWidget and is handled by the core.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user