debug window stays at botoom when adding data

This commit is contained in:
DennisSchiefer 2012-03-13 17:36:40 +01:00
parent 805402b230
commit 27d24885a9

View File

@ -35,6 +35,7 @@ else // IE
// working functions
OSRM.debug.log = function(text) {
OSRM.debug.content.innerHTML += text + "<hr style='border:none; margin:2px; height:1px; color:#F0F0F0; background:#F0F0F0;'/>";
OSRM.debug.content.scrollTop = OSRM.debug.content.scrollHeight;
};
OSRM.debug.clear = function() {
OSRM.debug.content.innerHTML = "";