mirror of
https://iceshrimp.dev/crimekillz/iceshrimp-161sh.git
synced 2024-11-23 12:39:59 +01:00
Update timeline.vue
This commit is contained in:
parent
f1369188a2
commit
c9b26183f3
@ -113,8 +113,7 @@ export default Vue.extend({
|
|||||||
const current = window.scrollY + window.innerHeight;
|
const current = window.scrollY + window.innerHeight;
|
||||||
if (current > document.body.offsetHeight - 8) this.more();
|
if (current > document.body.offsetHeight - 8) this.more();
|
||||||
}
|
}
|
||||||
if (window.scrollY > 100) this.isTop = false;
|
this.isTop = window.scrollY < 100;
|
||||||
else this.isTop = true;
|
|
||||||
},
|
},
|
||||||
onKeydown(e) {
|
onKeydown(e) {
|
||||||
if (e.target.tagName != 'INPUT' && e.target.tagName != 'TEXTAREA') {
|
if (e.target.tagName != 'INPUT' && e.target.tagName != 'TEXTAREA') {
|
||||||
|
Loading…
Reference in New Issue
Block a user