summaryrefslogtreecommitdiffstats
path: root/webapp
diff options
context:
space:
mode:
authorJannik Schönartz2019-03-08 12:52:30 +0100
committerJannik Schönartz2019-03-08 12:52:30 +0100
commit756d7a9bef340f234e15732314b9e338d2b30844 (patch)
treed05f7419a2b106861e91966aba19c4a09fdd1564 /webapp
parent[webapp] Add require symbol for the user / account forms (diff)
downloadbas-756d7a9bef340f234e15732314b9e338d2b30844.tar.gz
bas-756d7a9bef340f234e15732314b9e338d2b30844.tar.xz
bas-756d7a9bef340f234e15732314b9e338d2b30844.zip
[webapp/ipxe] Fix console autoscroll on linux
Diffstat (limited to 'webapp')
-rw-r--r--webapp/src/components/IpxeBuilderModuleConfig.vue3
1 files changed, 2 insertions, 1 deletions
diff --git a/webapp/src/components/IpxeBuilderModuleConfig.vue b/webapp/src/components/IpxeBuilderModuleConfig.vue
index aaeb197..e802d13 100644
--- a/webapp/src/components/IpxeBuilderModuleConfig.vue
+++ b/webapp/src/components/IpxeBuilderModuleConfig.vue
@@ -221,7 +221,8 @@ export default {
})
},
manualScroll (event) {
- if (event.deltaY === -100) this.autoscroll = false
+ console.log(event)
+ if (event.deltaY < 0) this.autoscroll = false
// else if (this.$refs.log.$el.scrollTop + 800 >= this.$refs.log.$el.scrollHeight) this.autoscroll = true
else if (this.$refs.log.$el.firstElementChild.scrollTop + 800 >= this.$refs.log.$el.firstElementChild.scrollHeight) this.autoscroll = true
},