mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-23 18:17:20 +00:00
Fix typo: Safe mode should prevent globally disabling parser rules
This commit is contained in:
parent
c5d3d4c26e
commit
166a156584
@ -116,7 +116,7 @@ WikiParser.prototype.loadRemoteTiddler = function(url) {
|
|||||||
*/
|
*/
|
||||||
WikiParser.prototype.setupRules = function(proto,configPrefix) {
|
WikiParser.prototype.setupRules = function(proto,configPrefix) {
|
||||||
var self = this;
|
var self = this;
|
||||||
if(!$tw.safemode) {
|
if(!$tw.safeMode) {
|
||||||
$tw.utils.each(proto,function(object,name) {
|
$tw.utils.each(proto,function(object,name) {
|
||||||
if(self.wiki.getTiddlerText(configPrefix + name,"enable") !== "enable") {
|
if(self.wiki.getTiddlerText(configPrefix + name,"enable") !== "enable") {
|
||||||
delete proto[name];
|
delete proto[name];
|
||||||
|
Loading…
Reference in New Issue
Block a user