liquid_feedback_frontend
annotate static/js/browser_warning.js @ 150:eaf3db89a6e1
implement initiative pager in content_navigation
this allows you to swtich between the initiatives very quickly
this allows you to swtich between the initiatives very quickly
author | Daniel Poelzleithner <poelzi@poelzi.org> |
---|---|
date | Fri Oct 08 04:29:20 2010 +0200 (2010-10-08) |
parents | afd9f769c7ae |
children | eb6d04201f81 |
rev | line source |
---|---|
bsw/jbe@5 | 1 function evilBrowser() { |
bsw/jbe@5 | 2 return (navigator.appName == "Microsoft Internet Explorer" || ! window.addEventListener); |
bsw/jbe@5 | 3 } |
bsw/jbe@5 | 4 |
bsw/jbe@5 | 5 function checkBrowser(message) { |
bsw/jbe@5 | 6 if (evilBrowser()) { |
bsw/jbe@5 | 7 alert(message); |
bsw/jbe@5 | 8 } |
bsw/jbe@5 | 9 } |