Skip to content

Commit

Permalink
Additional fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ValeriiMalkov committed Oct 7, 2021
1 parent 60334bc commit 42e0daa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/view/sdl/SubtleAlertPopUp.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,9 @@ SDL.SubtleAlertPopUp = Em.ContainerView.create(
click(event) {
const path = event.path;
for(const pathElement of path) {
if ('id' in pathElement
&& typeof pathElement.id === 'string'
&& pathElement.id.includes("resetTimeoutButton")) {
if ('className' in pathElement
&& typeof pathElement.className === 'string'
&& pathElement.className.match(/resetTimeoutButton|ResetTimeoutPopUp/)) {
return;
}
}
Expand Down

0 comments on commit 42e0daa

Please sign in to comment.