diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2018-10-22 18:23:20 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2018-10-22 18:23:20 +0900 |
| commit | 80e52c57e1eee8a433b43ca768978b63128113b7 (patch) | |
| tree | 68240b631e97ac2782789de59259f2357b36e32e /src/client | |
| parent | :art: (diff) | |
| download | sharkey-80e52c57e1eee8a433b43ca768978b63128113b7.tar.gz sharkey-80e52c57e1eee8a433b43ca768978b63128113b7.tar.bz2 sharkey-80e52c57e1eee8a433b43ca768978b63128113b7.zip | |
Fix #2958
Diffstat (limited to 'src/client')
| -rw-r--r-- | src/client/app/init.ts | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/client/app/init.ts b/src/client/app/init.ts index 5bfb48778c..fc09c3eeaf 100644 --- a/src/client/app/init.ts +++ b/src/client/app/init.ts @@ -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 { |