From 13473e7bec75bbef606a7c168c758e2b04562ff7 Mon Sep 17 00:00:00 2001 From: Gerard Date: Mon, 18 Feb 2019 09:50:09 +0100 Subject: [PATCH] #1145 item diary no va a la linea actual --- modules/item/front/diary/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/item/front/diary/index.js b/modules/item/front/diary/index.js index c2e5e6bff..a634f3d48 100644 --- a/modules/item/front/diary/index.js +++ b/modules/item/front/diary/index.js @@ -119,8 +119,8 @@ class Controller { } else offsetTop = onPreparationLine.offsetTop - headerHeight; - body.querySelector('ui-view').scrollTop = offsetTop; - + this.$window.scrollTo(0, offsetTop); + console.log(offsetTop); this.ticketFk = null; }