mirror of
https://github.com/TiddlyWiki/TiddlyWiki5.git
synced 2026-04-29 07:36:42 +00:00
This reverts commit 9a5f4cc0ef.
This commit is contained in:
@@ -35,7 +35,9 @@ ButtonWidget.prototype.render = function(parent,nextSibling) {
|
||||
this.computeAttributes();
|
||||
this.execute();
|
||||
// Create element
|
||||
tag = $tw.utils.makeTagNameSafe(this.buttonTag,tag)
|
||||
if(this.buttonTag && $tw.config.htmlUnsafeElements.indexOf(this.buttonTag) === -1) {
|
||||
tag = this.buttonTag;
|
||||
}
|
||||
domNode = this.document.createElement(tag);
|
||||
this.domNode = domNode;
|
||||
// Assign classes
|
||||
|
||||
Reference in New Issue
Block a user