mirror of
https://github.com/zulip/zulip.git
synced 2026-07-18 21:04:19 +08:00
Only set the hash portion of the URL for future-proofing
(imported from commit b860e6c5dde0a75c54678d6a6798611497c1db39)
This commit is contained in:
parent
339ef0f139
commit
989cee3194
@ -36,7 +36,7 @@ function preserve_compose(send_after_reload) {
|
||||
// done before the first call to get_updates
|
||||
$(function () {
|
||||
var location = window.location.toString();
|
||||
window.location = '#';
|
||||
window.location.hash = '';
|
||||
var fragment = location.substring(location.indexOf('#') + 1);
|
||||
if (fragment.search("reload:") !== 0) {
|
||||
return;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user