From 8b95ad2dc94593450c2c96f83c251d98caaf0b91 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Thu, 21 Jan 2016 16:34:06 +0100 Subject: [PATCH] Fixed typo --- wcfsetup/install/files/js/WoltLab/WCF/Language/Chooser.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'); -- 2.20.1