|
|
@ -1,5 +1,6 @@
|
|
|
|
if (!document.querySelector("#alertifyCSS")) {
|
|
|
|
if (!document.querySelector("#alertifyCSS")) {
|
|
|
|
// Prevent alertify from injecting CSS, we create our own in alertify.less.
|
|
|
|
// Prevent alertify from injecting CSS, we create our own in alertify.less.
|
|
|
|
|
|
|
|
// see: https://github.com/alertifyjs/alertify.js/blob/v1.0.11/src/js/alertify.js#L414
|
|
|
|
var head = document.getElementsByTagName("head")[0];
|
|
|
|
var head = document.getElementsByTagName("head")[0];
|
|
|
|
var css = document.createElement("span");
|
|
|
|
var css = document.createElement("span");
|
|
|
|
css.id = "alertifyCSS";
|
|
|
|
css.id = "alertifyCSS";
|
|
|
|