From 3b083558a2979d03db3922874c0b8f5ac81c18da Mon Sep 17 00:00:00 2001 From: Fabii547 Date: Fri, 10 Jun 2016 16:23:29 +0200 Subject: [PATCH] Fix typos --- wcfsetup/install/files/js/WoltLab/WCF/Core.js | 2 +- wcfsetup/install/files/js/WoltLab/WCF/Media/Manager/Search.js | 4 ++-- wcfsetup/install/files/js/WoltLab/WCF/Ui/CloseOverlay.js | 2 +- wcfsetup/install/files/js/WoltLab/WCF/Ui/Like/Handler.js | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/wcfsetup/install/files/js/WoltLab/WCF/Core.js b/wcfsetup/install/files/js/WoltLab/WCF/Core.js index 75e0580bc7..84b4b7b4cf 100644 --- a/wcfsetup/install/files/js/WoltLab/WCF/Core.js +++ b/wcfsetup/install/files/js/WoltLab/WCF/Core.js @@ -153,7 +153,7 @@ define([], function() { configurable: true, enumerable: false, value: constructor, - writable: true, + writable: true } }), propertiesObject || {}); }, diff --git a/wcfsetup/install/files/js/WoltLab/WCF/Media/Manager/Search.js b/wcfsetup/install/files/js/WoltLab/WCF/Media/Manager/Search.js index b3b4fd485a..2289f372b7 100644 --- a/wcfsetup/install/files/js/WoltLab/WCF/Media/Manager/Search.js +++ b/wcfsetup/install/files/js/WoltLab/WCF/Media/Manager/Search.js @@ -95,7 +95,7 @@ define(['Ajax', 'Core', 'Dom/Traverse', 'Dom/Util', 'Language', 'WoltLab/WCF/Med else { innerInfo = elCreate('p'); innerInfo.className = 'innerInfo'; - innerInfo.textContent = Language.get('wcf.media.search.info.searchStringTreshold'); + innerInfo.textContent = Language.get('wcf.media.search.info.searchStringThreshold'); DomUtil.insertAfter(innerInfo, this._input.parentNode); } @@ -104,7 +104,7 @@ define(['Ajax', 'Core', 'Dom/Traverse', 'Dom/Util', 'Language', 'WoltLab/WCF/Med }, /** - * Sends an AJAX request to fetch seach results. + * Sends an AJAX request to fetch search results. */ _search: function() { this._searchMode = true; diff --git a/wcfsetup/install/files/js/WoltLab/WCF/Ui/CloseOverlay.js b/wcfsetup/install/files/js/WoltLab/WCF/Ui/CloseOverlay.js index e9325bae1d..7342fa4ab6 100644 --- a/wcfsetup/install/files/js/WoltLab/WCF/Ui/CloseOverlay.js +++ b/wcfsetup/install/files/js/WoltLab/WCF/Ui/CloseOverlay.js @@ -4,7 +4,7 @@ * @author Alexander Ebert * @copyright 2001-2015 WoltLab GmbH * @license GNU Lesser General Public License - * @module WoltLab/WCF/Ui/CloseOlveray + * @module WoltLab/WCF/Ui/CloseOverlay */ define(['CallbackList'], function(CallbackList) { "use strict"; diff --git a/wcfsetup/install/files/js/WoltLab/WCF/Ui/Like/Handler.js b/wcfsetup/install/files/js/WoltLab/WCF/Ui/Like/Handler.js index 695bbe5f30..9080f9638a 100644 --- a/wcfsetup/install/files/js/WoltLab/WCF/Ui/Like/Handler.js +++ b/wcfsetup/install/files/js/WoltLab/WCF/Ui/Like/Handler.js @@ -114,7 +114,7 @@ define( // build summary if (this._options.canViewSummary) { var summary, summaryContent, summaryIcon; - var summaryContainer = (this._options.isSingleItem) ? elBySel(this._options.summarySelector) : elBySel(this._options.summarySelector, element) + var summaryContainer = (this._options.isSingleItem) ? elBySel(this._options.summarySelector) : elBySel(this._options.summarySelector, element); if (summaryContainer !== null) { summary = elCreate('div'); summary.className = 'likesSummary'; -- 2.20.1