From 73f786bf042045fe926bfb0c55ebe96dae805cbc 2014-01-16 10:57:07 From: Jonathan Frederic Date: 2014-01-16 10:57:07 Subject: [PATCH] Remove uneccessary lines in String.js --- diff --git a/IPython/html/static/notebook/js/widgets/string.js b/IPython/html/static/notebook/js/widgets/string.js index 7632f57..2a8198f 100644 --- a/IPython/html/static/notebook/js/widgets/string.js +++ b/IPython/html/static/notebook/js/widgets/string.js @@ -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); },