From: Alexander Ebert Date: Tue, 4 Jul 2017 17:37:38 +0000 (+0200) Subject: Fixed check for Firefox X-Git-Tag: 3.0.7~13 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=2918fcebfad64be0c8d623a7d5428551f5b8e785;p=GitHub%2FWoltLab%2FWCF.git Fixed check for Firefox --- diff --git a/wcfsetup/install/files/js/WoltLabSuite/Core/Environment.js b/wcfsetup/install/files/js/WoltLabSuite/Core/Environment.js index 9e0d04d75c..66031c905c 100644 --- a/wcfsetup/install/files/js/WoltLabSuite/Core/Environment.js +++ b/wcfsetup/install/files/js/WoltLabSuite/Core/Environment.js @@ -38,7 +38,7 @@ define([], function() { else if (property.indexOf('-moz-') === 0) { _browser = 'firefox'; } - else if (property.indexOf('-webkit-') === 0) { + else if (_browser !== 'firefox' && property.indexOf('-webkit-') === 0) { _browser = 'safari'; } }