liquid_feedback_frontend
view static/js/browser_warning.js @ 479:edcf827d7ac3
Added box around initiative head
author | bsw |
---|---|
date | Thu Mar 15 12:43:11 2012 +0100 (2012-03-15) |
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 }