Remove console.log() calls

This commit is contained in:
Edward Betts 2021-05-11 17:40:38 +02:00
parent 38798929d7
commit 0e5fa02293

View file

@ -115,12 +115,10 @@ function update_wikidata(check_for_missing = true) {
var item = wikidata_items[qid]; var item = wikidata_items[qid];
if (!item) missing_qids.push(qid); if (!item) missing_qids.push(qid);
} }
console.log(missing_qids);
if (missing_qids.length) { if (missing_qids.length) {
var params = { qids: missing_qids.join(",") }; var params = { qids: missing_qids.join(",") };
axios.get(missing_url, { params: params }).then((response) => { axios.get(missing_url, { params: params }).then((response) => {
console.log(response.data.items);
response.data.isa_count.forEach((isa) => { response.data.isa_count.forEach((isa) => {
isa_labels[isa.qid] = isa.label; isa_labels[isa.qid] = isa.label;
@ -357,7 +355,6 @@ function load_wikidata_items() {
load_text.classList.add("visually-hidden"); load_text.classList.add("visually-hidden");
var bounds = map.getBounds(); var bounds = map.getBounds();
console.log("map moved", bounds.toBBoxString());
var params = { bounds: bounds.toBBoxString() }; var params = { bounds: bounds.toBBoxString() };