Commit 6bc54ca
Jason Tanner
Add support for Turbolinks 2.X
Intercom is not configured to work with Turbolinks. This commit forces Intercom to reload it's messenger when a new page loads via the following line of code:
document.addEventListener('page:load', l, false)
This was inspired by the following PR:
intercom#215
I am testing this branch via Intercom's instructions:
https://github.com/intercom/intercom-rails#running-testsspecs1 parent f20c2dd commit 6bc54ca
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
101 | | - | |
102 | | - | |
| 101 | + | |
| 102 | + | |
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
| |||
0 commit comments