Remove uneccessary lines in String.js

This commit is contained in:
Jonathan Frederic 2013-12-07 00:05:22 +00:00
parent a6e5ec942c
commit 186e756da9

View File

@ -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);
},