mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-12-25 20:53:08 +02:00
Fix #2958
This commit is contained in:
parent
213a7f137e
commit
80e52c57e1
1 changed files with 6 additions and 0 deletions
|
@ -167,6 +167,12 @@ export default (callback: (launch: (router: VueRouter, api?: (os: MiOS) => API)
|
|||
}
|
||||
}, false);
|
||||
|
||||
window.addEventListener('scroll', () => {
|
||||
if (window.scrollY <= 8) {
|
||||
os.store.commit('clearBehindNotes');
|
||||
}
|
||||
}, { passive: true });
|
||||
|
||||
Vue.mixin({
|
||||
data() {
|
||||
return {
|
||||
|
|
Loading…
Reference in a new issue