This repository was archived by the owner on Jun 7, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed
Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -722,24 +722,20 @@ export class ActiveCode extends RunestoneBase {
722722 $ ( this . graphics ) . addClass ( "visible-ac-canvas" ) ;
723723 } . bind ( this )
724724 ) ;
725- var clearDiv = document . createElement ( "div" ) ;
726- $ ( clearDiv ) . css ( "clear" , "both" ) ; // needed to make parent div resize properly
727- this . outerDiv . appendChild ( clearDiv ) ;
728725 outDiv . appendChild ( this . output ) ;
729726 outDiv . appendChild ( this . graphics ) ;
730727 this . outerDiv . appendChild ( outDiv ) ;
731728 var lensDiv = document . createElement ( "div" ) ;
729+ lensDiv . classList . add ( "codelens" ) ;
732730 lensDiv . id = `${ this . divid } _codelens` ;
733731 $ ( lensDiv ) . css ( "display" , "none" ) ;
734732 this . codelens = lensDiv ;
735733 this . outerDiv . appendChild ( lensDiv ) ;
736734 var coachDiv = document . createElement ( "div" ) ;
735+ coachDiv . classList . add ( "codecoach" ) ;
737736 $ ( coachDiv ) . css ( "display" , "none" ) ;
738737 this . codecoach = coachDiv ;
739738 this . outerDiv . appendChild ( coachDiv ) ;
740- clearDiv = document . createElement ( "div" ) ;
741- $ ( clearDiv ) . css ( "clear" , "both" ) ; // needed to make parent div resize properly
742- this . outerDiv . appendChild ( clearDiv ) ;
743739 }
744740
745741 disableSaveLoad ( ) {
You can’t perform that action at this time.
0 commit comments