1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2025-04-21 18:23:13 +00:00

Decode paths for TiddlyFox

This commit is contained in:
Jeremy Ruston 2013-03-19 18:36:27 +00:00
parent 5a6c2b91f8
commit 28707edd72

@ -20,7 +20,7 @@ TiddlyFoxSaver.prototype.save = function(text) {
if(messageBox) {
// Create the message element and put it in the message box
var message = document.createElement("div");
message.setAttribute("data-tiddlyfox-path",document.location.pathname);
message.setAttribute("data-tiddlyfox-path",decodeURIComponent(document.location.pathname));
message.setAttribute("data-tiddlyfox-content",text);
messageBox.appendChild(message);
// Create and dispatch the custom event to the extension