mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-12-25 01:20:30 +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);
|
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];
|
||||||
|
Loading…
Reference in New Issue
Block a user