kopia lustrzana https://github.com/miklobit/TiddlyWiki5
Stop clearing the location hash for tw-browser-refresh
rodzic
ba087c96c2
commit
e47852cb14
|
@ -51,7 +51,6 @@ exports.startup = function() {
|
|||
},false)
|
||||
// Listen for the tw-browser-refresh message
|
||||
$tw.rootWidget.addEventListener("tw-browser-refresh",function(event) {
|
||||
window.location.hash = "";
|
||||
window.location.reload(true);
|
||||
});
|
||||
// Listen for the tw-home message
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
created: 20140819110529062
|
||||
modified: 20140819110529062
|
||||
modified: 20140826110529062
|
||||
tags: message
|
||||
title: WidgetMessage: tw-browser-refresh
|
||||
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.
|
||||
|
|
Ładowanie…
Reference in New Issue