Skip to content

Commit

Permalink
Fix m.route error on beta 14. Fixes #27
Browse files Browse the repository at this point in the history
  • Loading branch information
clarkwinkelmann committed Nov 25, 2020
1 parent fb91b7e commit dc90193
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion js/dist/admin.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/dist/forum.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion js/dist/forum.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions js/src/forum/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ app.initializers.add('fof-analytics', () => {
if (app.data.googleGTMCode && typeof gtagpush !== 'undefined') {
gtagpush({
'event': 'custom_event',
'virtualpath': m.route()
'virtualpath': m.route.get()
});
}
if (typeof _paq !== 'undefined') {
_paq.push(['setCustomUrl', m.route()]);
_paq.push(['setCustomUrl', m.route.get()]);
_paq.push(['trackPageView']);
}
});
Expand Down

0 comments on commit dc90193

Please sign in to comment.