1
1
mirror of https://github.com/Fabio286/antares.git synced 2025-06-05 21:59:22 +02:00

fix: exception on app start setting window title

This commit is contained in:
2022-06-08 14:55:29 +02:00
parent 00242697a1
commit 5b33419b64
3 changed files with 4 additions and 4 deletions

View File

@ -129,7 +129,7 @@ export default {
},
tooltipPosition (e) {
const el = e.target ? e.target : e;
const fromTop = window.pageYOffset + el.getBoundingClientRect().top - (el.offsetHeight / 4);
const fromTop = window.scrollY + el.getBoundingClientRect().top - (el.offsetHeight / 4);
el.querySelector('.ex-tooltip-content').style.top = `${fromTop}px`;
},
getStatusBadge (uid) {