configurable: true,
enumerable: false,
value: constructor,
- writable: true,
+ writable: true
}
}), propertiesObject || {});
},
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);
}
},
/**
- * Sends an AJAX request to fetch seach results.
+ * Sends an AJAX request to fetch search results.
*/
_search: function() {
this._searchMode = true;
* @author Alexander Ebert
* @copyright 2001-2015 WoltLab GmbH
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
- * @module WoltLab/WCF/Ui/CloseOlveray
+ * @module WoltLab/WCF/Ui/CloseOverlay
*/
define(['CallbackList'], function(CallbackList) {
"use strict";
// 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';