Fix IE check.

This commit is contained in:
bootstraponline
2012-06-08 16:57:19 -06:00
parent f7a3a8aa55
commit 0cb39f049f
+1
View File
@@ -28,6 +28,7 @@ module Precious
# Detect unsupported browsers.
@@supported_browsers = ['Firefox', 'Chrome', 'Safari']
Browser = Struct.new(:browser, :version)
@@ie9 = Browser.new('Internet Explorer', '9.0')
def supported_useragent?(user_agent)