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
|
||||
|
||||
# disable Safari 3 and older
|
||||
else if data.browser == 'Firefox' && data.version <= 3
|
||||
else if data.browser == 'Safari' && data.version <= 3
|
||||
@message(data)
|
||||
return false
|
||||
|
||||
# disable Opera 10 and older
|
||||
else if data.browser == 'Firefox' && data.version <= 10
|
||||
else if data.browser == 'Opera' && data.version <= 10
|
||||
@message(data)
|
||||
return false
|
||||
|
||||
|
|
Loading…
Reference in a new issue