Use turbolinks instead of window.location
This commit is contained in:
parent
091a3e66e9
commit
bcb00bdc48
1 changed files with 1 additions and 1 deletions
|
@ -167,7 +167,7 @@
|
|||
paths.push(`search=${encodeURIComponent(searchToken)}`);
|
||||
}
|
||||
|
||||
window.location = `?scope=all&utf8=✓&${paths.join('&')}`;
|
||||
Turbolinks.visit(`?scope=all&utf8=✓&${paths.join('&')}`);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue