Commit bcb00bdc authored by Clement Ho's avatar Clement Ho

Use turbolinks instead of window.location

parent 091a3e66
...@@ -167,7 +167,7 @@ ...@@ -167,7 +167,7 @@
paths.push(`search=${encodeURIComponent(searchToken)}`); paths.push(`search=${encodeURIComponent(searchToken)}`);
} }
window.location = `?scope=all&utf8=✓&${paths.join('&')}`; Turbolinks.visit(`?scope=all&utf8=✓&${paths.join('&')}`);
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment