toggle scroll from auto based on current scroll

rather than always `false`
Min RK 12 years ago
parent 66450cf2b3
commit ab221f09f9

@ -188,7 +188,7 @@ define([
OutputArea.prototype.toggle_scroll = function () {
if (this.scroll_state == 'auto') {
this.scroll_state = false;
this.scroll_state = !this.scrolled;
} else {
this.scroll_state = !this.scroll_state;
}

Loading…
Cancel
Save