We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7fac813 commit 05a76baCopy full SHA for 05a76ba
src/htdocs/websage.js
@@ -740,12 +740,6 @@ else
740
return; // give up
741
}
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
// janela carregada
750
var se = ESTACAO;
751
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() {
+ WebSAGE.escondeDestaqPonto(NPTO);
+ NPTO = 0;
+ })
833
834
// escreve parâmetros só na primeira vez que abriu a janela
835
clearTimeout(WebSAGE.g_tminfoID);
836
WebSAGE.g_win_1stdraw = 0;
0 commit comments