@@ -499,14 +499,14 @@ ActiveCode.prototype.createOutput = function () {
499499 $ ( this . graphics ) . addClass ( "visible-ac-canvas" ) ;
500500 } ) . bind ( this ) ) ;
501501
502- outDiv . appendChild ( this . output ) ;
503- outDiv . appendChild ( this . graphics ) ;
504- this . outerDiv . appendChild ( outDiv ) ;
505-
506502 var clearDiv = document . createElement ( "div" ) ;
507503 $ ( clearDiv ) . css ( "clear" , "both" ) ; // needed to make parent div resize properly
508504 this . outerDiv . appendChild ( clearDiv ) ;
509505
506+ outDiv . appendChild ( this . output ) ;
507+ outDiv . appendChild ( this . graphics ) ;
508+ this . outerDiv . appendChild ( outDiv ) ;
509+
510510
511511 var lensDiv = document . createElement ( "div" ) ;
512512 $ ( lensDiv ) . addClass ( "col-md-12" ) ;
@@ -1148,7 +1148,6 @@ ActiveCode.prototype.runProg = function () {
11481148 $ ( this . runButton ) . attr ( 'disabled' , 'disabled' ) ;
11491149 $ ( this . historyScrubber ) . off ( "slidechange" ) ;
11501150 $ ( this . historyScrubber ) . slider ( "disable" ) ;
1151- $ ( this . codeDiv ) . switchClass ( "col-md-12" , "col-md-7" , { duration : 500 , queue : false } ) ;
11521151 $ ( this . outDiv ) . show ( { duration : 700 , queue : false } ) ;
11531152
11541153 var __ret = this . manage_scrubber ( scrubber_dfd , history_dfd , saveCode ) ;
@@ -1267,7 +1266,6 @@ JSActiveCode.prototype.runProg = function() {
12671266
12681267 $ ( this . eContainer ) . remove ( ) ;
12691268 $ ( this . output ) . text ( '' ) ;
1270- $ ( this . codeDiv ) . switchClass ( "col-md-12" , "col-md-6" , { duration :500 , queue :false } ) ;
12711269 $ ( this . outDiv ) . show ( { duration :700 , queue :false } ) ;
12721270
12731271 try {
@@ -2081,7 +2079,6 @@ LiveCode.prototype.runProg_callback = function(data) {
20812079
20822080 var odiv = this . output ;
20832081 $ ( this . runButton ) . attr ( 'disabled' , 'disabled' ) ;
2084- $ ( this . codeDiv ) . switchClass ( "col-md-12" , "col-md-6" , { duration :500 , queue :false } ) ;
20852082 $ ( this . outDiv ) . show ( { duration :700 , queue :false } ) ;
20862083 $ ( this . errDiv ) . remove ( ) ;
20872084 $ ( this . output ) . css ( "visibility" , "visible" ) ;
0 commit comments