Nojs chat: add fallback meta refresh to redirect url

Hacky workaround of weird behaviour in Firefox where on a page whose url has a
fragment/hash/anchor in it, sometimes a urlless meta refresh tag will jump to
the element instead of refreshing the page. Same thing happens if the meta
refresh tag's url component is the same as the page's url.
このコミットが含まれているのは:
n9k 2022-03-03 10:24:09 +00:00
コミット bb3002ffd5
1個のファイルの変更1行の追加0行の削除

ファイルの表示

@ -4,6 +4,7 @@
<head>
<meta charset="utf-8">
<meta http-equiv="refresh" content="4">
<meta http-equiv="refresh" content="5; url={{ url_for('nojs_chat_redirect', token=user.token) }}">
<style>
html {
height: 100%;