liquid_feedback_frontend
view static/js/browser_warning.js @ 493:01cf3c50cbee
Show (not)admitted notices in initiative head
author | bsw |
---|---|
date | Fri Mar 16 11:32:06 2012 +0100 (2012-03-16) |
parents | eb6d04201f81 |
children |
line source
1 function evilBrowser() {
2 return (navigator.appName == "Microsoft Internet Explorer" || ! window.addEventListener);
3 }
5 function checkBrowser(message) {
6 if (evilBrowser()) {
7 document.getElementById("layout_warning").innerHTML += '<div class="slot_warning">' + message + '</div>' ;
8 }
9 }