mirror of
https://github.com/jupyter/notebook.git
synced 2025-01-12 11:45:38 +08:00
Fix scroll_to_bottom
This commit is contained in:
parent
02db32fe9a
commit
4333c84907
@ -54,7 +54,7 @@ define(["notebook/js/widget"], function(widget_manager){
|
||||
this.$el_to_style = this.$textbox; // Set default element to style
|
||||
this.update(); // Set defaults.
|
||||
|
||||
this.on_msg();
|
||||
this.model.on_msg($.proxy(this._handle_textarea_msg, this));
|
||||
},
|
||||
|
||||
|
||||
|
@ -40,7 +40,7 @@ class StringWidget(Widget):
|
||||
|
||||
|
||||
def scroll_to_bottom(self):
|
||||
self._comm.send({"method": "scroll_to_bottom"})
|
||||
self.send({"method": "scroll_to_bottom"})
|
||||
|
||||
|
||||
def _handle_string_msg(self, content):
|
||||
|
Loading…
Reference in New Issue
Block a user