mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-05 09:36:18 +00:00
Fix typo
This commit is contained in:
parent
b4896d79d8
commit
4f0e148bf1
@ -257,9 +257,10 @@ ButtonWidget.prototype.updateDomNodeClasses = function() {
|
||||
};
|
||||
|
||||
ButtonWidget.prototype.updateDomNodeDataAttributes = function() {
|
||||
var self = this;
|
||||
$tw.utils.each(this.attributes,function(value,name) {
|
||||
if(name.substr(0,DATA_ATTRIBUTE_PREFIX.length) === DATA_ATTRIBUTE_PREFIX) {
|
||||
domNode.setAttribute(name,value);
|
||||
self.domNode.setAttribute(name,value);
|
||||
}
|
||||
});
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user