mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-12-24 00:50:28 +00:00
Fixed typo
This commit is contained in:
parent
2ad3e10188
commit
7a7f293579
@ -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];
|
||||
|
Loading…
Reference in New Issue
Block a user