From: Fabii Date: Fri, 4 Mar 2016 13:04:08 +0000 (+0100) Subject: Fix typos X-Git-Tag: 3.0.0_Beta_1~2030^2~62^2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=0c677c2dd40f958a9395b1069860138df62b9f2f;p=GitHub%2FWoltLab%2FWCF.git Fix typos --- diff --git a/wcfsetup/install/files/js/WoltLab/WCF/Controller/Clipboard.js b/wcfsetup/install/files/js/WoltLab/WCF/Controller/Clipboard.js index e46aa409cd..c8dbb30c21 100644 --- a/wcfsetup/install/files/js/WoltLab/WCF/Controller/Clipboard.js +++ b/wcfsetup/install/files/js/WoltLab/WCF/Controller/Clipboard.js @@ -261,7 +261,7 @@ define( var formData = {}; if (template.length) { - var items = elBySel('input, select, textarea', UiConfirmation.getContentElement()); + var items = elBySelAll('input, select, textarea', UiConfirmation.getContentElement()); for (var i = 0, length = items.length; i < length; i++) { var item = items[i]; var name = elAttr(item, 'name'); diff --git a/wcfsetup/install/files/js/WoltLab/WCF/Controller/Popover.js b/wcfsetup/install/files/js/WoltLab/WCF/Controller/Popover.js index 18a12101c5..e711dfac44 100644 --- a/wcfsetup/install/files/js/WoltLab/WCF/Controller/Popover.js +++ b/wcfsetup/install/files/js/WoltLab/WCF/Controller/Popover.js @@ -342,7 +342,7 @@ define(['Ajax', 'Dictionary', 'Environment', 'Dom/ChangeListener', 'Dom/Util', ' */ _clearContent: function() { if (_activeId && _popoverContent.childElementCount && !_popover.classList.contains('active')) { - var activeElData = _cache.get(_elements.get(_activeId).elData(element, 'cache-id')); + var activeElData = elData(_cache.get(_elements.get(_activeId).element, 'cache-id')); while (_popoverContent.childNodes.length) { activeElData.content.appendChild(_popoverContent.childNodes[0]); } diff --git a/wcfsetup/install/files/js/WoltLab/WCF/Language/Input.js b/wcfsetup/install/files/js/WoltLab/WCF/Language/Input.js index cfa5526ab0..7cae3a5c25 100644 --- a/wcfsetup/install/files/js/WoltLab/WCF/Language/Input.js +++ b/wcfsetup/install/files/js/WoltLab/WCF/Language/Input.js @@ -142,7 +142,7 @@ define(['Core', 'Dictionary', 'Language', 'ObjectMap', 'StringUtil', 'Dom/Traver var activeItem = null; if (forceSelection === true || values.size) { for (var i = 0, length = dropdownMenu.childElementCount; i < length; i++) { - if (~~dropdownMenu.elData(children[i], 'language-id') === LANGUAGE_ID) { + if (~~elData(dropdownMenu.children[i], 'language-id') === LANGUAGE_ID) { activeItem = dropdownMenu.children[i]; break; }