mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-07-13 01:44:08 -04:00
fix a11y errors
This commit is contained in:
@@ -73,10 +73,16 @@
|
||||
);
|
||||
|
||||
this.update = () => {
|
||||
const isEmpty = this.$textbox.val().trim() === "";
|
||||
|
||||
this.$background.html(
|
||||
this.highlightPlaceholders ? this.contentReplaced() : this.contentEscaped()
|
||||
);
|
||||
if (isEmpty) {
|
||||
this.$background.html(
|
||||
this.highlightPlaceholders ? this.contentReplaced() : this.contentEscaped()
|
||||
);
|
||||
this.$background.show();
|
||||
} else {
|
||||
this.$background.hide();
|
||||
}
|
||||
|
||||
this.resize();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user