Aug 26, 2019, 2:22 PM
[CLOSED] 4.8 (latest) break internet explorer
endsWith is not a supported function in old IE. can you fix this please?
Zev.
Zev.
updateIndicator: function () {
var hideEl,
parentToIndicator,
parentIsIndicator;
if (!this.indicatorEl) {
return;
}
if (!this.isIndicatorWasUpdated) {
this.isIndicatorWasUpdated = true;
}
var errorSide = this.msgTarget == "side" && this.hasActiveError(),
isTopNote = this.noteAlign == "top",
hideIndicator,
w,
h;
if (isTopNote) {
h = this.noteEl.getHeight();
if (this.labelAlign !== "top") {
this.labelEl.setStyle("padding-top", (h + 4) + "px");
}
this.indicatorEl.setStyle("top", h + "px");
if (this.errorEl && this.msgTarget == "side") {
this.errorEl.parent().setStyle("padding-top", h + "px");
}
}
parentToIndicator = this.indicatorEl.parent();
parentIsIndicator = parentToIndicator.id !== undefined && parentToIndicator.id.endsWith('-indicator');
Last edited by fabricio.murta; Aug 26, 2019 at 8:54 PM.