warn older browsers on upload

This commit is contained in:
Sanj 2011-06-01 19:46:55 +05:30
parent f4435fdfd6
commit c8250a6f70

View File

@ -255,8 +255,10 @@ $(document).ready(function() {
GeckoVersion = GeckoVersion[1];
}
if(Chrome || WebKitVersion >= '534.28' ||
(GeckoVersion >= '2.0')) {
if (!(Chrome || WebKitVersion >= '534.28' ||
(GeckoVersion >= '2.0'))) {
alert("sorry, you need another browser to upload files to edgwareroad.org - try recent versions of firefox or chrome for best results.");
window.location = "/";
// $('#firefogg').hide();
// $('#submit').hide();
/*