debug window stays at botoom when adding data
This commit is contained in:
parent
805402b230
commit
27d24885a9
@ -35,6 +35,7 @@ else // IE
|
|||||||
// working functions
|
// working functions
|
||||||
OSRM.debug.log = function(text) {
|
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.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.clear = function() {
|
||||||
OSRM.debug.content.innerHTML = "";
|
OSRM.debug.content.innerHTML = "";
|
||||||
|
Loading…
Reference in New Issue
Block a user