Skip to content

Commit 5062270

Browse files
committed
fix(DEV-8771): Fix click handler
Replace deprecated "evt.srcElement" call with "evt.target" Fixes #128
1 parent 4a9608e commit 5062270

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/embedded.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -865,7 +865,7 @@ class HelloSign extends Emitter {
865865
* @private
866866
*/
867867
_onEmbeddedClick(evt) {
868-
const elem = evt.srcElement;
868+
const elem = evt.target;
869869

870870
// Check if the element that was clicked is the close
871871
// button.

0 commit comments

Comments
 (0)