1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-07-01 01:33:16 +00:00

Better prompt for TiddlyFox before it injects its stuff

This commit is contained in:
Jeremy Ruston 2012-08-29 18:18:38 +01:00
parent 75791c6c90
commit ce1509f940
2 changed files with 3 additions and 2 deletions

View File

@ -22,8 +22,9 @@ var TiddlyFox = {
win = doc.defaultView;
// If it is a TiddlyWiki
if(TiddlyFox.isTiddlyWiki(doc,win)) {
alert("TiddlyFox: Enabling TiddlyWiki file saving");
TiddlyFox.injectPage(doc);
if(confirm("TiddlyFox: Enabling TiddlyWiki file saving capability")) {
TiddlyFox.injectPage(doc);
}
}
},

Binary file not shown.