Commit 94a506d
committed
Fix maximum call stack size exceeded
When calling remove() on the listener added via Intercom.addEventListener() a recursion error was being thrown.
This change ensures the original remove function is only called once.1 parent 16f7c0e commit 94a506d
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
415 | 415 | | |
416 | 416 | | |
417 | 417 | | |
| 418 | + | |
418 | 419 | | |
419 | 420 | | |
420 | 421 | | |
421 | 422 | | |
422 | | - | |
| 423 | + | |
423 | 424 | | |
424 | 425 | | |
425 | 426 | | |
| |||
0 commit comments