Skip to content

Commit bf83161

Browse files
committed
Land rapid7#2749 - Add firefox 26 feature detection support to detect/os.js
2 parents 930a907 + 6cd315d commit bf83161

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

data/js/detect/os.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,11 @@ window.os_detect.getVersion = function(){
210210
// Thanks to developer.mozilla.org "Firefox for developers" series for most
211211
// of these.
212212
// Release changelogs: http://www.mozilla.org/en-US/firefox/releases/
213-
if (css_is_valid('background-attachment',
213+
if (css_is_valid('image-orientation',
214+
'imageOrientation',
215+
'0deg')) {
216+
ua_version = '26.0';
217+
} else if (css_is_valid('background-attachment',
214218
'backgroundAttachment',
215219
'local')) {
216220
ua_version = '25.0';

0 commit comments

Comments
 (0)