1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-04-30 18:05:51 +02:00
This commit is contained in:
syuilo
2018-10-22 18:23:20 +09:00
parent 213a7f137e
commit 80e52c57e1

View File

@@ -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 {