From: Alexander Ebert Date: Mon, 18 May 2015 16:14:22 +0000 (+0200) Subject: Fixed variable check X-Git-Tag: 3.0.0_Beta_1~2389 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=2d5790b184336483e76c647e2f889f6f29c94415;p=GitHub%2FWoltLab%2FWCF.git Fixed variable check --- diff --git a/wcfsetup/install/files/js/WoltLab/WCF/UI/FlexibleMenu.js b/wcfsetup/install/files/js/WoltLab/WCF/UI/FlexibleMenu.js index 3c7ff955ad..288a439660 100644 --- a/wcfsetup/install/files/js/WoltLab/WCF/UI/FlexibleMenu.js +++ b/wcfsetup/install/files/js/WoltLab/WCF/UI/FlexibleMenu.js @@ -143,7 +143,7 @@ define(['Core', 'Dictionary', 'DOM/Traverse', 'DOM/Util', 'UI/SimpleDropdown'], if (hiddenItems.length) { var dropdownMenu; - if (dropdown === null) { + if (dropdown === undefined) { dropdown = document.createElement('li'); dropdown.className = 'dropdown jsFlexibleMenuDropdown'; var icon = document.createElement('a');