From: Alexander Ebert Date: Thu, 21 Jan 2016 15:34:06 +0000 (+0100) Subject: Fixed typo X-Git-Tag: 3.0.0_Beta_1~2030^2~145 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=8b95ad2dc94593450c2c96f83c251d98caaf0b91;p=GitHub%2FWoltLab%2FWCF.git Fixed typo --- diff --git a/wcfsetup/install/files/js/WoltLab/WCF/Language/Chooser.js b/wcfsetup/install/files/js/WoltLab/WCF/Language/Chooser.js index 7873b3c9ac..624def2268 100644 --- a/wcfsetup/install/files/js/WoltLab/WCF/Language/Chooser.js +++ b/wcfsetup/install/files/js/WoltLab/WCF/Language/Chooser.js @@ -85,7 +85,7 @@ define(['Dictionary', 'Language', 'Dom/Traverse', 'Dom/Util', 'ObjectMap', 'Ui/S DomUtil.insertAfter(dropdownMenu, dropdownToggle); var callbackClick = (function(event) { - var languageId = ~~elData(event.currentTarget, 'data-language-id'); + var languageId = ~~elData(event.currentTarget, 'language-id'); var activeItem = DomTraverse.childByClass(dropdownMenu, 'active'); if (activeItem !== null) activeItem.classList.remove('active');