Skip to content

Commit 0ca006e

Browse files
committed
Comment out console log lines
1 parent 8df7752 commit 0ca006e

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

assets/javascripts/app.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ var App = (function ($, publ) {
218218
publ.setBasemap = function (layers) {
219219

220220
if (layers.length === 0) {
221-
console.error("There is no baselayer availaable!");
221+
console.error("There is no baselayer available!");
222222
return;
223223
}
224224

@@ -378,7 +378,7 @@ var App = (function ($, publ) {
378378
var extent = map.getView().calculateExtent(map.getSize());
379379

380380
center = ol.proj.transform(center,'EPSG:3857','EPSG:4326');
381-
console.log("Map Center (WGS84): ", center);
381+
// console.log("Map Center (WGS84): ", center);
382382
$('fieldset#location').data('center', center);
383383
$('#tr_distance #values_distance_3').val(center[0]);
384384
$('#tr_distance #values_distance_4').val(center[1]);
@@ -394,7 +394,7 @@ var App = (function ($, publ) {
394394
document.cookie = cookie.join(";");
395395

396396
extent = ol.proj.transformExtent(extent,'EPSG:3857','EPSG:4326').join('|');
397-
console.log("Map Extent (WGS84): ",extent);
397+
// console.log("Map Extent (WGS84): ",extent);
398398
$('select[name="v[bbox][]"]').find('option').first().val(extent);
399399
// adjust the value of the 'On map' option tag
400400
// Also adjust the JSON data that's the basis for building the filter row
@@ -763,11 +763,11 @@ function buildDistanceFilterRow(operator, values){
763763
}
764764
var x,y;
765765
if(values.length > 2){
766-
console.log('distance center point from values: ', values[base_idx], values[base_idx+1]);
766+
// console.log('distance center point from values: ', values[base_idx], values[base_idx+1]);
767767
x = values[base_idx];
768768
y = values[base_idx+1];
769769
} else {
770-
console.log('taking distance from map fieldset: ', $('fieldset#location').data('center'));
770+
// console.log('taking distance from map fieldset: ', $('fieldset#location').data('center'));
771771
var xy = $('fieldset#location').data('center');
772772
x = xy[0]; y = xy[1];
773773
}

0 commit comments

Comments
 (0)