From b1a67ec563a3dbd17115da7fa4a94129075ac292 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Sat, 23 May 2015 12:09:05 +0200 Subject: [PATCH] Fixed check for Map existence in WoltLab/WCF/Dictionary --- wcfsetup/install/files/js/WoltLab/WCF/Dictionary.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.20.1