1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-06-26 07:13:15 +00:00

Stop clearing the location hash for tw-browser-refresh

This commit is contained in:
Jermolene 2014-08-26 14:19:12 +01:00
parent ba087c96c2
commit e47852cb14
2 changed files with 2 additions and 3 deletions

View File

@ -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

View File

@ -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.