MDL-79198 core: Increment static variable properly

This commit is contained in:
Jun Pataleta
2023-08-29 16:44:16 +08:00
parent 9bfcd77d51
commit 59fff99a94
3 changed files with 3 additions and 3 deletions
+1 -1
View File
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -89,7 +89,7 @@ export default class Modal {
this.isAttached = false;
this.bodyJS = null;
this.footerJS = null;
this.modalCount = this.modalCounter++;
this.modalCount = Modal.modalCounter++;
this.attachmentPoint = document.createElement('div');
document.body.append(this.attachmentPoint);
this.focusOnClose = null;