diff --git a/templates/assets/js/custom.js b/templates/assets/js/custom.js index c44a0be9..04150b9e 100644 --- a/templates/assets/js/custom.js +++ b/templates/assets/js/custom.js @@ -139,11 +139,10 @@ document.addEventListener("DOMContentLoaded", () => { this.options = { class: this.getAttribute("class") || '', noIcon: this.getAttribute("noIcon") || '', - style: this.getAttribute("style") || '', - content: this.getAttribute("content") || '', + style: this.getAttribute("style") || '' }; let htmlStr = ` -
+ `; this.innerHTML = htmlStr; } @@ -158,12 +157,11 @@ document.addEventListener("DOMContentLoaded", () => { constructor() { super(); this.options = { - class: this.getAttribute("class") || '', - noIcon: this.getAttribute("noIcon") || '', - content: this.getAttribute("content") || '', + class: this.getAttribute("class") || 'info', + noIcon: this.getAttribute("noIcon") || '' }; let htmlStr = ` - + `; this.innerHTML = htmlStr; } @@ -196,9 +194,7 @@ document.addEventListener("DOMContentLoaded", () => {${$2
- .trim()
- .replace(/^(
)|(
)$/g, "")}