Fixed check for Firefox
authorAlexander Ebert <ebert@woltlab.com>
Tue, 4 Jul 2017 17:37:38 +0000 (19:37 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Tue, 4 Jul 2017 17:37:38 +0000 (19:37 +0200)
wcfsetup/install/files/js/WoltLabSuite/Core/Environment.js

index 9e0d04d75c4464c89993729e216c86fb9e39a9df..66031c905ce8c1c421740e77762bd5e1032ff85b 100644 (file)
@@ -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';
                                        }
                                }