Fixed typos in browser validation.
This commit is contained in:
parent
434062efdb
commit
775af9315d
1 changed files with 2 additions and 2 deletions
|
@ -24,12 +24,12 @@ class App.Browser
|
||||||
return false
|
return false
|
||||||
|
|
||||||
# disable Safari 3 and older
|
# disable Safari 3 and older
|
||||||
else if data.browser == 'Firefox' && data.version <= 3
|
else if data.browser == 'Safari' && data.version <= 3
|
||||||
@message(data)
|
@message(data)
|
||||||
return false
|
return false
|
||||||
|
|
||||||
# disable Opera 10 and older
|
# disable Opera 10 and older
|
||||||
else if data.browser == 'Firefox' && data.version <= 10
|
else if data.browser == 'Opera' && data.version <= 10
|
||||||
@message(data)
|
@message(data)
|
||||||
return false
|
return false
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue