Fixed typo
authorAlexander Ebert <ebert@woltlab.com>
Thu, 21 Jan 2016 15:34:06 +0000 (16:34 +0100)
committerAlexander Ebert <ebert@woltlab.com>
Thu, 21 Jan 2016 15:34:06 +0000 (16:34 +0100)
wcfsetup/install/files/js/WoltLab/WCF/Language/Chooser.js

index 7873b3c9acc7bbbec7f50b8afeac1afedda72623..624def2268e3a2f2ededd792d5a64c40f55788aa 100644 (file)
@@ -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');