if (createPathError && innerError === null) {
innerError = elCreate('small');
- innerError.classList = 'innerError';
+ innerError.className = 'innerError';
DomUtil.insertAfter(innerError, _pathInput);
}
if (this._errorMessage === undefined) {
this._errorMessage = elCreate('small');
- this._errorMessage.classList = 'innerError';
+ this._errorMessage.className = 'innerError';
DomUtil.insertAfter(this._errorMessage, this._originInput);
}
MediaListUpload._super.prototype._createButton.call(this);
var icon = elCreate('span');
- icon.classList = 'icon icon16 fa-upload';
+ icon.className = 'icon icon16 fa-upload';
DomUtil.prepend(icon, elBySel('span', this._button));
},
}
var spinner = elCreate('span');
- spinner.classList = 'icon icon48 fa-spinner mediaThumbnail';
+ spinner.className = 'icon icon48 fa-spinner mediaThumbnail';
DomUtil.replaceElement(image[0], spinner);