liquid_feedback_frontend
view static/js/browser_warning.js @ 312:5e6bdf07e3a1
Some color and positioning changes again...
author | bsw |
---|---|
date | Mon Feb 27 16:19:11 2012 +0100 (2012-02-27) |
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 }