mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-10-04 18:00:44 +00:00
Better prompt for TiddlyFox before it injects its stuff
This commit is contained in:
parent
75791c6c90
commit
ce1509f940
@ -22,9 +22,10 @@ var TiddlyFox = {
|
|||||||
win = doc.defaultView;
|
win = doc.defaultView;
|
||||||
// If it is a TiddlyWiki
|
// If it is a TiddlyWiki
|
||||||
if(TiddlyFox.isTiddlyWiki(doc,win)) {
|
if(TiddlyFox.isTiddlyWiki(doc,win)) {
|
||||||
alert("TiddlyFox: Enabling TiddlyWiki file saving");
|
if(confirm("TiddlyFox: Enabling TiddlyWiki file saving capability")) {
|
||||||
TiddlyFox.injectPage(doc);
|
TiddlyFox.injectPage(doc);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
injectPage: function(doc) {
|
injectPage: function(doc) {
|
||||||
|
Binary file not shown.
Loading…
Reference in New Issue
Block a user