liquid_feedback_frontend
view static/js/browser_warning.js @ 338:79d8e2d35021
Fixed broken html titles
author | bsw |
---|---|
date | Tue Feb 28 18:58:29 2012 +0100 (2012-02-28) |
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 }