Mercurial > hg > fapweb
comparison show.php @ 989:1f1d4b933065
Faster.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sat, 29 Nov 2014 18:55:37 +0200 |
parents | 138987d0253a |
children | ffacd904fd1f |
comparison
equal
deleted
inserted
replaced
988:7d7bd913649c | 989:1f1d4b933065 |
---|---|
96 if (txt == "changed") | 96 if (txt == "changed") |
97 { | 97 { |
98 viewChanged(); | 98 viewChanged(); |
99 if (!timeOutSet) | 99 if (!timeOutSet) |
100 { | 100 { |
101 setTimeout("tickMain();", 500); | 101 setTimeout("tickMain();", 250); |
102 timeOutSet = true; | 102 timeOutSet = true; |
103 } | 103 } |
104 } | 104 } |
105 else | 105 else |
106 { | 106 { |
107 if (!timeOutSet) | 107 if (!timeOutSet) |
108 { | 108 { |
109 setTimeout("tickMain();", 1000); | 109 setTimeout("tickMain();", 500); |
110 timeOutSet = true; | 110 timeOutSet = true; |
111 } | 111 } |
112 } | 112 } |
113 } | 113 } |
114 | 114 |