Mercurial > hg > mgallery
comparison mgallery.js @ 332:ffcd1225e85c
Rename PID variable.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Mon, 21 Nov 2022 12:20:35 +0200 |
parents | 548a349bc015 |
children |
comparison
equal
deleted
inserted
replaced
331:14d3741061f5 | 332:ffcd1225e85c |
---|---|
137 | 137 |
138 if (eimg.height > ewin[1] * madj) | 138 if (eimg.height > ewin[1] * madj) |
139 eimg.style.height = (ewin[1] * madj)+"px"; | 139 eimg.style.height = (ewin[1] * madj)+"px"; |
140 } | 140 } |
141 } | 141 } |
142 adjustPID = -1; | 142 mgalAdjustImagePID = -1; |
143 } | 143 } |
144 | 144 |
145 | 145 |
146 function mgalAdjustImage() | 146 function mgalAdjustImage() |
147 { | 147 { |
148 if (adjustPID == -1) | 148 if (mgalAdjustImagePID == -1) |
149 adjustPID = setTimeout(mgalAdjustImageDo, 10); | 149 mgalAdjustImagePID = setTimeout(mgalAdjustImageDo, 10); |
150 } | 150 } |
151 | 151 |
152 | 152 |
153 function mgalDisplayInfo(mvstate) | 153 function mgalDisplayInfo(mvstate) |
154 { | 154 { |