1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-17 23:34:50 +00:00

Fix further typo in edit-text widget

This commit is contained in:
Jermolene 2013-11-09 14:17:08 +00:00
parent bbe9a9c191
commit ccb7fac25e

View File

@ -80,8 +80,8 @@ EditTextWidget.prototype.getEditInfo = function() {
value = this.wiki.extractTiddlerDataItem(this.editTitle,this.editIndex,this.editDefault);
update = function(value) {
var data = self.wiki.getTiddlerData(self.editTitle,{});
if(data[self.editIndex] !== text) {
data[self.editIndex] = text;
if(data[self.editIndex] !== value) {
data[self.editIndex] = value;
self.wiki.setTiddlerData(self.editTitle,data);
}
};