mirror of
https://github.com/jupyter/notebook.git
synced 2025-01-12 11:45:38 +08:00
Remove uneccessary lines in String.js
This commit is contained in:
parent
a6e5ec942c
commit
186e756da9
@ -47,11 +47,9 @@ define(["notebook/js/widget"], function(widget_manager){
|
||||
// Handles: Backend -> Frontend Sync
|
||||
// Frontent -> Frontend Sync
|
||||
update : function(){
|
||||
var that=this;
|
||||
this.$el.html(this.model.get('value'));
|
||||
var math_el = that.$el.get(0);
|
||||
MathJax.Hub.Queue(["Typeset",MathJax.Hub,math_el]);
|
||||
|
||||
MathJax.Hub.Queue(["Typeset",MathJax.Hub,this.$el.get(0)]);
|
||||
|
||||
return IPython.WidgetView.prototype.update.call(this);
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user