From f2b25aee065dabcfbcbd2c794133852665c47af2 Mon Sep 17 00:00:00 2001 From: Jan Schneider Date: Mon, 5 Jul 2010 14:29:54 +0200 Subject: [PATCH] Scroll to start of day in day and week views. --- kronolith/js/kronolith.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kronolith/js/kronolith.js b/kronolith/js/kronolith.js index 0aa786123..de648c61c 100644 --- a/kronolith/js/kronolith.js +++ b/kronolith/js/kronolith.js @@ -343,6 +343,8 @@ KronolithCore = { if ($('kronolithTimeMarker')) { $('kronolithTimeMarker').show(); } + // Scroll to the work day start time. + $('kronolithView' + locCap).down('.kronolithViewBody').scrollTop = 9 * this[loc + 'Sizes'].height; } this.loadNextView(); }.bind(this) -- 2.11.0