diff --git a/incorporealcms/templates/base.html b/incorporealcms/templates/base.html index 7aa5e7f..f8ee7cf 100644 --- a/incorporealcms/templates/base.html +++ b/incorporealcms/templates/base.html @@ -27,7 +27,6 @@ function applyStyle(styleName) { for (i = 0, link_tag = document.getElementsByTagName("link"); i < link_tag.length; i++ ) { // find the stylesheets with titles, meaning they can be disabled/enabled if ((link_tag[i].rel.indexOf("stylesheet") != -1) && link_tag[i].title) { - alert(link_tag[i].title); link_tag[i].disabled = true; if (link_tag[i].title == styleName) { link_tag[i].disabled = false ; @@ -45,7 +44,6 @@ function setStyle(styleName) { function applyStyleFromCookie() { // get the user style cookie and set that specified style as the active one var styleName = getCookie("user-style"); - alert(styleName); if (styleName) { applyStyle(styleName); } @@ -56,7 +54,6 @@ function getCookie(cookieName) { let matches = document.cookie.match(new RegExp( "(?:^|; )" + cookieName.replace(/([\.$?*|{}\(\)\[\]\\\/\+^])/g, '\\$1') + "=([^;]*)" )); - alert(matches); return matches ? decodeURIComponent(matches[1]) : undefined; }