Completed
Push — master ( 8149d9...4dca71 )
by Yannick
30:37
created
js/map-aircraft.3d.js.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -265,22 +265,22 @@  discard block
 block discarded – undo
265 265
 			var entityid = entity.id;
266 266
 			var lastupdateentity = entity.properties.lastupdate;
267 267
 			<?php 
268
-			    if (isset($globalMapUseBbox) && $globalMapUseBbox) {
269
-			    // Remove flights not in latest CZML
268
+				if (isset($globalMapUseBbox) && $globalMapUseBbox) {
269
+				// Remove flights not in latest CZML
270 270
 			?>
271 271
 			if (lastupdateentity != lastupdate) {
272 272
 				viewer.dataSources.get(dsn).entities.remove(entity);
273 273
 				czmlds.entities.removeById(entityid);
274 274
 			}
275 275
 			<?php
276
-			    } else {
276
+				} else {
277 277
 			?>
278 278
 			if (parseInt(lastupdateentity) < Math.floor(Date.now()-<?php if (isset($globalMapRefresh)) print $globalMapRefresh*2000; else print '60000'; ?>)) {
279 279
 				viewer.dataSources.get(dsn).entities.remove(entity);
280 280
 				czmlds.entities.removeById(entityid);
281 281
 			}
282 282
 			<?php
283
-			    }
283
+				}
284 284
 			?>
285 285
 		}
286 286
 	}
@@ -718,12 +718,12 @@  discard block
 block discarded – undo
718 718
 }
719 719
 
720 720
 <?php
721
-    if ((isset($globalIVAO) && $globalIVAO) || (isset($globalVATSIM) && $globalVATSIM)) {
721
+	if ((isset($globalIVAO) && $globalIVAO) || (isset($globalVATSIM) && $globalVATSIM)) {
722 722
 ?>
723 723
 update_atcLayer();
724 724
 setInterval(function(){update_atcLayer()},<?php if (isset($globalMapRefresh)) print $globalMapRefresh*1000*2; else print '60000'; ?>);
725 725
 <?php
726
-    }
726
+	}
727 727
 ?>
728 728
 
729 729
 function iconColor(color) {
Please login to merge, or discard this patch.