Permalink
Browse files

bone101/client.js: Attempt to fix scrolling

  • Loading branch information...
1 parent ef4d807 commit 0b89b8324313751720e6ae92fa2c6d4f25c426a3 @jadonk committed Apr 18, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 bone101/client.js
View
@@ -58,6 +58,8 @@ var init = function() {
socket.emit('shell', c);
}
}, 20);
+ } else {
+ $textarea.scrollTop($textarea[0].scrollHeight);
}
});
} catch(ex) {

0 comments on commit 0b89b83

Please sign in to comment.