Use turbolinks instead of window.location
This commit is contained in:
parent
091a3e66e9
commit
bcb00bdc48
|
@ -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 New Issue