liquid_feedback_frontend

view static/js/browser_warning.js @ 236:de8602f8d9bb

Make trim properly handle nil as an argument
author Ingo Bormuth <mail@ibormuth.de>
date Sun Nov 27 13:33:42 2011 +0100 (2011-11-27)
parents afd9f769c7ae
children eb6d04201f81
line source
1 function evilBrowser() {
2 return (navigator.appName == "Microsoft Internet Explorer" || ! window.addEventListener);
3 }
5 function checkBrowser(message) {
6 if (evilBrowser()) {
7 alert(message);
8 }
9 }

Impressum / About Us