From 8e4708b51b2bc44751ec1a69fb856a53e0ef4caa Mon Sep 17 00:00:00 2001 From: joev Date: Tue, 18 Mar 2014 11:26:24 -0500 Subject: [PATCH] Add support for firefox 28. --- data/js/detect/os.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/data/js/detect/os.js b/data/js/detect/os.js index 47250c2d32..29413518e3 100644 --- a/data/js/detect/os.js +++ b/data/js/detect/os.js @@ -212,7 +212,9 @@ window.os_detect.getVersion = function(){ // Thanks to developer.mozilla.org "Firefox for developers" series for most // of these. // Release changelogs: http://www.mozilla.org/en-US/firefox/releases/ - if (css_is_valid('cursor', 'cursor', 'grab')) { + if (css_is_valid('flex-wrap', 'flexWrap', 'nowrap')) { + ua_version = '28.0'; + } else if (css_is_valid('cursor', 'cursor', 'grab')) { ua_version = '27.0'; } else if (css_is_valid('image-orientation', 'imageOrientation',