Update default.js
This commit is contained in:
parent
5e810468e1
commit
aab1235e7f
|
@ -1,5 +1,10 @@
|
||||||
function addStyle(style) {
|
function addStyle(style) {
|
||||||
$("body").after(`<style>${style}</style>`);
|
let el = $("style#dotjs-style");
|
||||||
|
if (!el.length) {
|
||||||
|
$("body").after(`<style id="dotjs-style">${style}</style>`);
|
||||||
|
} else {
|
||||||
|
$("style#dotjs-style").append(style);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function copyToClipBoard(text) {
|
function copyToClipBoard(text) {
|
||||||
|
|
Loading…
Reference in New Issue