File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -740,12 +740,6 @@ else
740
740
return ; // give up
741
741
}
742
742
743
- // on closing info window, cancel point and hide object highlight
744
- WebSAGE . g_win_cmd . addEventListener ( "unload" , function ( ) {
745
- WebSAGE . escondeDestaqPonto ( NPTO ) ;
746
- NPTO = 0 ;
747
- } )
748
-
749
743
// janela carregada
750
744
var se = ESTACAO ;
751
745
se = se + "-" ;
@@ -830,6 +824,13 @@ else
830
824
) ;
831
825
832
826
if ( WebSAGE . g_win_1stdraw ) {
827
+
828
+ // on closing info window, cancel point and hide object highlight
829
+ WebSAGE . g_win_cmd . addEventListener ( "unload" , function ( ) {
830
+ WebSAGE . escondeDestaqPonto ( NPTO ) ;
831
+ NPTO = 0 ;
832
+ } )
833
+
833
834
// escreve parâmetros só na primeira vez que abriu a janela
834
835
clearTimeout ( WebSAGE . g_tminfoID ) ;
835
836
WebSAGE . g_win_1stdraw = 0 ;
You can’t perform that action at this time.
0 commit comments