1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-12-25 01:20:30 +00:00

Fixed typo

This commit is contained in:
Jeremy Ruston 2012-11-03 20:34:39 +00:00
parent 2ad3e10188
commit 7a7f293579

View File

@ -158,7 +158,7 @@ Element.prototype.addClass = function(className) {
this.attributes["class"].push(className); this.attributes["class"].push(className);
}; };
Node.prototype.addStyles = function(styles) { Element.prototype.addStyles = function(styles) {
this.attributes.style = this.attributes.style || {}; this.attributes.style = this.attributes.style || {};
for(var t in styles) { for(var t in styles) {
this.attributes.style[t] = styles[t]; this.attributes.style[t] = styles[t];