1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-12-24 17:10:29 +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);
};
Node.prototype.addStyles = function(styles) {
Element.prototype.addStyles = function(styles) {
this.attributes.style = this.attributes.style || {};
for(var t in styles) {
this.attributes.style[t] = styles[t];