mirror of
https://gitlab.com/brutaldon/brutaldon.git
synced 2024-12-04 14:46:24 -05:00
Restrict scope of scroll-position-saving
This commit is contained in:
parent
075b8f67fe
commit
98afb6cde2
@ -40,8 +40,7 @@
|
||||
{% endif %}
|
||||
</head>
|
||||
<body class="has-navbar-fixed-top" ic-history-elt="true"
|
||||
ic-global-include='{"csrfmiddlewaretoken": "{{ csrf_token }}"}'
|
||||
ic-on-beforeSend="savePlace()">
|
||||
ic-global-include='{"csrfmiddlewaretoken": "{{ csrf_token }}"}'>
|
||||
<div id="page-load-indicator"> </div>
|
||||
{% block navbar %}
|
||||
<nav class="navbar is-fixed-top" role="navigation"
|
||||
@ -53,6 +52,7 @@
|
||||
ic-scroll-to-target="true"
|
||||
ic-select-from-response="#main"
|
||||
ic-push-url="true"
|
||||
ic-on-beforeSend="savePlace"
|
||||
ic-on-success="afterPage('{{ own_acct.username }}', 'Home');"
|
||||
ic-indicator="#page-load-indicator">
|
||||
{% if own_acct %}
|
||||
@ -76,6 +76,7 @@
|
||||
ic-scroll-to-target="true"
|
||||
ic-select-from-response="#main"
|
||||
ic-push-url="true"
|
||||
ic-on-beforeSend="savePlace"
|
||||
ic-on-success="afterPage('{{ own_acct.username }}', 'Home');"
|
||||
ic-indicator="#page-load-indicator">
|
||||
<span class="fa fa-home"></span>
|
||||
@ -87,6 +88,7 @@
|
||||
ic-scroll-to-target="true"
|
||||
ic-select-from-response="#main"
|
||||
ic-push-url="true"
|
||||
ic-on-beforeSend="savePlace"
|
||||
ic-on-success="afterPage('{{ own_acct.username }}', 'Notifications');"
|
||||
ic-indicator="#page-load-indicator">
|
||||
<span class="fa fa-bell-o"></span>
|
||||
@ -98,6 +100,7 @@
|
||||
ic-scroll-to-target="true"
|
||||
ic-select-from-response="#main"
|
||||
ic-push-url="true"
|
||||
ic-on-beforeSend="savePlace"
|
||||
ic-on-success="afterPage('{{ own_acct.username }}', 'Local timeline');"
|
||||
ic-indicator="#page-load-indicator">
|
||||
<span class="fa fa-community"></span>
|
||||
@ -109,6 +112,7 @@
|
||||
ic-scroll-to-target="true"
|
||||
ic-select-from-response="#main"
|
||||
ic-push-url="true"
|
||||
ic-on-beforeSend="savePlace"
|
||||
ic-on-success="afterPage('{{ own_acct.username }}', 'Federated timeline');"
|
||||
ic-indicator="#page-load-indicator">
|
||||
<span class="fa fa-globe"></span>
|
||||
@ -120,6 +124,7 @@
|
||||
ic-scroll-to-target="true"
|
||||
ic-select-from-response="#main"
|
||||
ic-push-url="true"
|
||||
ic-on-beforeSend="savePlace"
|
||||
ic-on-success="afterPage('{{ own_acct.username }}', 'New toot');"
|
||||
ic-indicator="#page-load-indicator">
|
||||
<span class="fa fa-edit"> </span>
|
||||
@ -131,6 +136,7 @@
|
||||
ic-scroll-to-target="true"
|
||||
ic-select-from-response="#main"
|
||||
ic-push-url="true"
|
||||
ic-on-beforeSend="savePlace"
|
||||
ic-on-success="afterPage('{{ own_acct.username }}', 'Search');"
|
||||
ic-indicator="#page-load-indicator">
|
||||
<span class="fa fa-search"> </span>
|
||||
@ -144,6 +150,7 @@
|
||||
|
||||
ic-scroll-to-target="true" ic-select-from-response="#main"
|
||||
ic-push-url="true"
|
||||
ic-on-beforeSend="savePlace"
|
||||
ic-on-success="afterPage('{{ own_acct.username }}', 'Settings');"
|
||||
ic-indicator="#page-load-indicator">
|
||||
<span class="fa fa-gear"></span>
|
||||
|
@ -146,7 +146,8 @@
|
||||
ic-select-from-response="#main"
|
||||
ic-push-url="true"
|
||||
ic-on-success="afterPage('{{ own_acct.username }}', 'thread')"
|
||||
ic-indicator="#page-load-indicator"">
|
||||
ic-indicator="#page-load-indicator"
|
||||
ic-on-beforeSend="savePlace">
|
||||
thread
|
||||
</a>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user