From 27d24885a902c8ad4b59cbf5804dabfbb6f71cc4 Mon Sep 17 00:00:00 2001 From: DennisSchiefer Date: Tue, 13 Mar 2012 17:36:40 +0100 Subject: [PATCH] debug window stays at botoom when adding data --- WebContent/OSRM.debug.js | 1 + 1 file changed, 1 insertion(+) diff --git a/WebContent/OSRM.debug.js b/WebContent/OSRM.debug.js index f6005794e..01114e866 100644 --- a/WebContent/OSRM.debug.js +++ b/WebContent/OSRM.debug.js @@ -35,6 +35,7 @@ else // IE // working functions OSRM.debug.log = function(text) { OSRM.debug.content.innerHTML += text + "
"; + OSRM.debug.content.scrollTop = OSRM.debug.content.scrollHeight; }; OSRM.debug.clear = function() { OSRM.debug.content.innerHTML = "";