mirror of
https://github.com/owncast/owncast.git
synced 2024-11-24 13:50:06 +03:00
e59167deaa
This resolves https://github.com/owncast/owncast/issues/3240 From the comments: This was trickier than expected, but the root of the problem is Firefox will set `#` in the URL bar when `window.location.hash` is set to _any_ string, even a blank string. The morale of the story is, don't mutate base data if you just want to copy values. 😅 Sample of Firefox JavaScript console session that demonstrates the issue: ```javascript >> window.location.href "https://github.com/owncast/owncast/issues/3240" >> const setBlankHash = () => { window.location.hash = ''; }; undefined >> window.location.hash "" >> window.location.href "https://github.com/owncast/owncast/issues/3240" >> setBlankHash() undefined >> // My browser just jumped to the top of the page undefined >> window.location.hash "" >> window.location.href "https://github.com/owncast/owncast/issues/3240#" ``` |
||
---|---|---|
.. | ||
action-buttons | ||
admin | ||
chat | ||
common | ||
layouts | ||
modals | ||
ServerRendered | ||
stores | ||
theme | ||
TitleNotifier | ||
ui | ||
video | ||
workers/PushNotificationServiceWorker | ||
.eslintrc.js | ||
_COMPONENT_HOW_TO.md |