File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed
src/LiveDevelopment/BrowserScripts Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -4028,17 +4028,18 @@ function RemoteFunctions(config = {}) {
40284028 }
40294029 }
40304030
4031- // recreate UI boxes (info box and more options box)
4031+ // recreate UI boxes so that they are placed properly
40324032 function redrawUIBoxes ( ) {
40334033 if ( _nodeMoreOptionsBox ) {
40344034 const element = _nodeMoreOptionsBox . element ;
40354035 _nodeMoreOptionsBox . remove ( ) ;
40364036 _nodeMoreOptionsBox = new NodeMoreOptionsBox ( element ) ;
4037+ }
40374038
4038- if ( _nodeInfoBox ) {
4039- dismissNodeInfoBox ( ) ;
4040- _nodeInfoBox = new NodeInfoBox ( element ) ;
4041- }
4039+ if ( _nodeInfoBox ) {
4040+ const element = _nodeInfoBox . element ;
4041+ _nodeInfoBox . remove ( ) ;
4042+ _nodeInfoBox = new NodeInfoBox ( element ) ;
40424043 }
40434044
40444045 if ( _aiPromptBox ) {
You can’t perform that action at this time.
0 commit comments