Reference the relevant line in alertify.js

pull/1/head
Caleb James DeLisle 2018-07-18 13:22:27 +02:00
parent a57a8e51a1
commit 8d95efa144
1 changed files with 1 additions and 0 deletions

View File

@ -1,5 +1,6 @@
if (!document.querySelector("#alertifyCSS")) {
// 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 css = document.createElement("span");
css.id = "alertifyCSS";