Skip to content

Commit

Permalink
case insensitive
Browse files Browse the repository at this point in the history
  • Loading branch information
koenpunt committed Jul 24, 2013
1 parent 3e54b0d commit 11d7112
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions coffee/lib/abstract-chosen.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -202,10 +202,10 @@ class AbstractChosen
@browser_is_supported: ->
if window.navigator.appName == "Microsoft Internet Explorer"
return document.documentMode >= 8
if /iP(od|hone)/.test(window.navigator.userAgent)
if /iP(od|hone)/i.test(window.navigator.userAgent)
return false
if /Android/i.test(window.navigator.userAgent)
return false if /Mobile/.test(window.navigator.userAgent)
return false if /Mobile/i.test(window.navigator.userAgent)
return true

@default_multiple_text: "Select Some Options"
Expand Down

0 comments on commit 11d7112

Please sign in to comment.