mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-12-24 17:10:29 +00:00
Fixed typos in edit-text widget
Thanks @grayeul
This commit is contained in:
parent
4ee67986a5
commit
bbe9a9c191
@ -79,10 +79,10 @@ EditTextWidget.prototype.getEditInfo = function() {
|
|||||||
if(this.editIndex) {
|
if(this.editIndex) {
|
||||||
value = this.wiki.extractTiddlerDataItem(this.editTitle,this.editIndex,this.editDefault);
|
value = this.wiki.extractTiddlerDataItem(this.editTitle,this.editIndex,this.editDefault);
|
||||||
update = function(value) {
|
update = function(value) {
|
||||||
var data = this.wiki.getTiddlerData(this.editTitle,{});
|
var data = self.wiki.getTiddlerData(self.editTitle,{});
|
||||||
if(data[this.editIndex] !== text) {
|
if(data[self.editIndex] !== text) {
|
||||||
data[this.editIndex] = text;
|
data[self.editIndex] = text;
|
||||||
this.wiki.setTiddlerData(this.editTitle,data);
|
self.wiki.setTiddlerData(self.editTitle,data);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user