From: Sven Schöling Date: Fri, 26 Mar 2021 18:20:43 +0000 (+0100) Subject: Mobile: client_js darf nicht versuchen den Header zu scrollen X-Git-Tag: kivitendo-mebil_0.1-0~9^2~92 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=861d2683e3d8e0c780e61829c01e3149f8e696d7;p=kivitendo-erp.git Mobile: client_js darf nicht versuchen den Header zu scrollen --- diff --git a/js/client_js.js b/js/client_js.js index d231d10ca..c9a152459 100644 --- a/js/client_js.js +++ b/js/client_js.js @@ -8,7 +8,7 @@ namespace("kivi", function(ns) { ns.display_flash = function(type, message, noscroll) { $('#flash_' + type + '_content').text(message); $('#flash_' + type).show(); - if (!noscroll) { + if (!noscroll && $('#frame-header')[0]) { $('#frame-header')[0].scrollIntoView(); } };