##// END OF EJS Templates
fix bad logic
Matthias BUSSONNIER -
Show More
@@ -331,10 +331,10 b' var IPython = (function (IPython) {'
331 for(var type_i in OutputArea.display_order){
331 for(var type_i in OutputArea.display_order){
332 var type = OutputArea.display_order[type_i];
332 var type = OutputArea.display_order[type_i];
333 if(json[type] != undefined ){
333 if(json[type] != undefined ){
334 if(type != 'javascript' && dynamic){
334 if(type == 'javascript' && dynamic){
335 this['append_'+type](json[type],element)
336 } else {
337 this.append_javascript(json.javascript, element, dynamic);
335 this.append_javascript(json.javascript, element, dynamic);
336 } else {
337 this['append_'+type](json[type],element)
338 }
338 }
339 return
339 return
340 }
340 }
General Comments 0
You need to be logged in to leave comments. Login now