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