Completed
Push — master ( c9ac4d...2dcb43 )
by Yannick
33:07
created
js/map.2d.js.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -395,7 +395,7 @@  discard block
 block discarded – undo
395 395
 	};
396 396
 
397 397
 <?php
398
-    if (isset($globalTSK) && $globalTSK && isset($_GET['tsk'])) {
398
+	if (isset($globalTSK) && $globalTSK && isset($_GET['tsk'])) {
399 399
 ?>
400 400
 	function tskPopup (feature, layer) {
401 401
 		var output = '';
@@ -430,7 +430,7 @@  discard block
 block discarded – undo
430 430
 	};
431 431
 	update_tsk();
432 432
 <?php
433
-    }
433
+	}
434 434
 ?>
435 435
 	map.on('moveend', function() {
436 436
 		//if (map.getZoom() > 7) {
@@ -446,10 +446,10 @@  discard block
 block discarded – undo
446 446
 setInterval(function(){if (noTimeout) { map.removeLayer(locationsLayer); update_locationsLayer();} },<?php if (isset($globalMapRefresh)) print $globalMapRefresh*1000*2; else print '60000'; ?>);
447 447
 
448 448
 <?php
449
-    // Add support for custom json via $globalMapJson
450
-    if (isset($globalMapJson) && is_array($globalMapJson)) {
449
+	// Add support for custom json via $globalMapJson
450
+	if (isset($globalMapJson) && is_array($globalMapJson)) {
451 451
 	foreach ($globalMapJson as $json) {
452
-	    if (isset($json['url'])) {
452
+		if (isset($json['url'])) {
453 453
 ?>
454 454
 update_genLayer('<?php print $json['url']; ?>');
455 455
 <?php
@@ -458,9 +458,9 @@  discard block
 block discarded – undo
458 458
 setInterval(function(){if (noTimeout) update_genLayer('<?php print $json['url']; ?>')}, <?php print $json['refresh']; ?>);
459 459
 <?php
460 460
 		}
461
-	    }
461
+		}
462
+	}
462 463
 	}
463
-    }
464 464
 
465 465
 ?>
466 466
 //adds the bootstrap tooltip to the map icons
Please login to merge, or discard this patch.