Update timeline.vue
This commit is contained in:
		
							parent
							
								
									6122c50ca5
								
							
						
					
					
						commit
						8bfa215208
					
				
					 1 changed files with 1 additions and 2 deletions
				
			
		| 
						 | 
					@ -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…
	
	Add table
		Add a link
		
	
		Reference in a new issue