diff --git a/.js/default.js b/.js/default.js index 449fdf6..f717c80 100644 --- a/.js/default.js +++ b/.js/default.js @@ -1,5 +1,10 @@ function addStyle(style) { - $("body").after(``); + let el = $("style#dotjs-style"); + if (!el.length) { + $("body").after(``); + } else { + $("style#dotjs-style").append(style); + } } function copyToClipBoard(text) {