mirror of
https://github.com/Jermolene/TiddlyWiki5.git
synced 2026-03-01 03:20:51 -08:00
Disable the tiddlyweb adaptor unless loaded over http(s)
This commit is contained in:
parent
93c29bd388
commit
e397e4d159
1 changed files with 1 additions and 1 deletions
|
|
@ -311,7 +311,7 @@ TiddlyWebAdaptor.prototype.parseEtag = function(etag) {
|
|||
}
|
||||
};
|
||||
|
||||
if($tw.browser) {
|
||||
if($tw.browser && document.location.protocol.substr(0,4) === "http" ) {
|
||||
exports.adaptorClass = TiddlyWebAdaptor;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue