File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -106,8 +106,12 @@ class Intermediate {
106106 this . applyForceLayout ( ) ;
107107 }
108108
109- // enable this for ability to share link to a zoomed bubble
110- //this.zoomUrlArea();
109+ // enable this for ability to share link to a zoomed bubble / paper
110+ // if (queryParams.has("paper")) {
111+ // this.selectUrlPaper();
112+ // } else {
113+ // this.zoomUrlArea();
114+ // }
111115 // remove the following lines if the previous line is uncommented
112116 const queryParams = new URLSearchParams ( window . location . search ) ;
113117 const paramsToRemove = [ ] ;
@@ -117,8 +121,9 @@ class Intermediate {
117121 if ( queryParams . has ( "paper" ) ) {
118122 paramsToRemove . push ( "paper" ) ;
119123 }
120-
121- removeQueryParams ( ...paramsToRemove ) ;
124+ if ( paramsToRemove . length > 0 ) {
125+ removeQueryParams ( ...paramsToRemove ) ;
126+ }
122127 }
123128
124129 /**
You can’t perform that action at this time.
0 commit comments