mirror of
https://github.com/TiddlyWiki/TiddlyWiki5.git
synced 2026-05-03 18:57:01 +00:00
Fix/Widget css leading space (#9427)
* fix: trim tc-reveal class * test: " tc-reveal" -> "tc-reveal" * Create #9427.tid * fix: more widgets * Update #9427.tid
This commit is contained in:
@@ -130,7 +130,7 @@ EventWidget.prototype.execute = function() {
|
||||
EventWidget.prototype.assignDomNodeClasses = function() {
|
||||
var classes = this.getAttribute("class","").split(" ");
|
||||
classes.push("tc-eventcatcher");
|
||||
this.domNode.className = classes.join(" ");
|
||||
this.domNode.className = classes.join(" ").trim();
|
||||
};
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user