Use turbolinks instead of window.location

This commit is contained in:
Clement Ho 2016-12-12 21:19:16 -06:00
parent 091a3e66e9
commit bcb00bdc48
1 changed files with 1 additions and 1 deletions

View File

@ -167,7 +167,7 @@
paths.push(`search=${encodeURIComponent(searchToken)}`);
}
window.location = `?scope=all&utf8=✓&${paths.join('&')}`;
Turbolinks.visit(`?scope=all&utf8=✓&${paths.join('&')}`);
}
}