This commit is contained in:
2024-11-05 10:47:20 -07:00
parent c801b1ff51
commit 5315c47fcd
276 changed files with 2990 additions and 6370 deletions

View File

@@ -182,7 +182,7 @@ Sys.Extended.UI.TextBoxWatermarkBehavior.prototype = {
return;
var classList = this.get_element().className.split();
if(classList.indexOf(this._watermarkCssClass) === -1) {
if (Array.indexOf(classList, this._watermarkCssClass) === -1) {
classList.push(this._watermarkCssClass);
this.get_element().className = classList.join(" ");
}