From 0c677c2dd40f958a9395b1069860138df62b9f2f Mon Sep 17 00:00:00 2001 From: Fabii Date: Fri, 4 Mar 2016 14:04:08 +0100 Subject: [PATCH] Fix typos --- wcfsetup/install/files/js/WoltLab/WCF/Controller/Clipboard.js | 2 +- wcfsetup/install/files/js/WoltLab/WCF/Controller/Popover.js | 2 +- wcfsetup/install/files/js/WoltLab/WCF/Language/Input.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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; } -- 2.20.1