From: Alexander Ebert Date: Sat, 23 May 2015 10:09:05 +0000 (+0200) Subject: Fixed check for Map existence in WoltLab/WCF/Dictionary X-Git-Tag: 3.0.0_Beta_1~2337 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=b1a67ec563a3dbd17115da7fa4a94129075ac292;p=GitHub%2FWoltLab%2FWCF.git Fixed check for Map existence in WoltLab/WCF/Dictionary --- diff --git a/wcfsetup/install/files/js/WoltLab/WCF/Dictionary.js b/wcfsetup/install/files/js/WoltLab/WCF/Dictionary.js index 9a1c8369ac..806c709172 100644 --- a/wcfsetup/install/files/js/WoltLab/WCF/Dictionary.js +++ b/wcfsetup/install/files/js/WoltLab/WCF/Dictionary.js @@ -11,7 +11,7 @@ define([], function() { "use strict"; - var _hasMap = window.hasOwnProperty('Map') & typeof window.WeakMap === 'function'; + var _hasMap = window.hasOwnProperty('Map') && typeof window.Map === 'function'; /** * @constructor