1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2025-10-20 18:27:39 +00:00

Revert "Add provisional version of new tagger manager"

This commit is contained in:
Jeremy Ruston
2016-11-28 10:40:55 +00:00
committed by GitHub
parent a85d034015
commit a9b54d6fce
34 changed files with 119 additions and 584 deletions

View File

@@ -65,12 +65,7 @@ CheckboxWidget.prototype.getValue = function() {
}
}
if(this.checkboxField) {
var value;
if($tw.utils.hop(tiddler.fields,this.checkboxField)) {
value = tiddler.fields[this.checkboxField] || "";
} else {
value = this.checkboxDefault || "";
}
var value = tiddler.fields[this.checkboxField] || this.checkboxDefault || "";
if(value === this.checkboxChecked) {
return true;
}