mirror of
https://github.com/bitwarden/browser
synced 2025-12-20 02:03:39 +00:00
Fix glob processing in npm. Ban single param parens (#257)
This commit is contained in:
@@ -56,7 +56,7 @@ export class ModalComponent implements OnDestroy {
|
||||
|
||||
const modals = Array.from(document.querySelectorAll('.modal, .modal *[data-dismiss="modal"]'));
|
||||
for (const closeElement of modals) {
|
||||
closeElement.addEventListener('click', (event) => {
|
||||
closeElement.addEventListener('click', event => {
|
||||
this.close();
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user