kopia lustrzana https://github.com/miklobit/TiddlyWiki5
Add write condition for DAT protocol (#3244)
In order to write to a DAT with Beaker Browser, it needs to have access to the file via `dat:` protocol.print-window-tiddler
rodzic
5626148202
commit
895447c40c
|
@ -51,7 +51,7 @@ BeakerSaver.prototype.info = {
|
|||
Static method that returns true if this saver is capable of working
|
||||
*/
|
||||
exports.canSave = function(wiki) {
|
||||
return !!window.DatArchive;
|
||||
return !!window.DatArchive && location.protocol==="dat:";
|
||||
};
|
||||
|
||||
/*
|
||||
|
|
Ładowanie…
Reference in New Issue