Show More
@@ -54,7 +54,7 b' define(["notebook/js/widget"], function(widget_manager){' | |||||
54 | this.$el_to_style = this.$textbox; // Set default element to style |
|
54 | this.$el_to_style = this.$textbox; // Set default element to style | |
55 | this.update(); // Set defaults. |
|
55 | this.update(); // Set defaults. | |
56 |
|
56 | |||
57 | this.on_msg(); |
|
57 | this.model.on_msg($.proxy(this._handle_textarea_msg, this)); | |
58 | }, |
|
58 | }, | |
59 |
|
59 | |||
60 |
|
60 |
@@ -40,7 +40,7 b' class StringWidget(Widget):' | |||||
40 |
|
40 | |||
41 |
|
41 | |||
42 | def scroll_to_bottom(self): |
|
42 | def scroll_to_bottom(self): | |
43 |
self |
|
43 | self.send({"method": "scroll_to_bottom"}) | |
44 |
|
44 | |||
45 |
|
45 | |||
46 | def _handle_string_msg(self, content): |
|
46 | def _handle_string_msg(self, content): |
General Comments 0
You need to be logged in to leave comments.
Login now