From 82abdd0144ed89ecbe81e8ec85ca92eab8ec4f75 Mon Sep 17 00:00:00 2001 From: smilerz Date: Fri, 16 Apr 2021 15:29:11 -0500 Subject: [PATCH] removed unnecessary console message --- cookbook/templates/url_import.html | 6 ------ 1 file changed, 6 deletions(-) diff --git a/cookbook/templates/url_import.html b/cookbook/templates/url_import.html index cda519171..4e72b589b 100644 --- a/cookbook/templates/url_import.html +++ b/cookbook/templates/url_import.html @@ -711,11 +711,9 @@ let uri = window.location.search.substring(1); let params = new URLSearchParams(uri); q = params.get("id") - console.log(q) this.error = undefined this.loading = true this.$http.get("{% url 'api:bookmarkletimport-list' %}?id=" + id_bkmk ).then((response) => { - console.log(response.data) this.automatic = false this.source_data = response.data[0]['html'] this.remote_url = response.data[0]['url'] @@ -780,7 +778,6 @@ formData.append('files', this.recipe_files[i]); } this.$http.post("{% url 'view_import' %}", formData, {headers: {'Content-Type': 'multipart/form-data'}}).then((response) => { - console.log(response.data) window.location.href = "{% url 'view_import_response' 1237654 %}".replace('1237654', response.data['import_id']) }).catch((err) => { this.error = err.data @@ -890,11 +887,9 @@ }, htmlDragStart: function (e) { - console.log(e.target.innerText) e.dataTransfer.setData('value', e.target.innerText) }, imageDragStart: function (e) { - console.log(e.target.src) e.dataTransfer.setData('value', e.target.src) }, replacePreview: function(field, e) { @@ -928,7 +923,6 @@ break; case 'ingredients': this.$http.post('{% url 'api_ingredient_from_string' %}', {text: v}, {emulateJSON: true}).then((response) => { - console.log(response) let new_ingredient={ unit: {id: Math.random() * 1000, text: response.body.unit}, amount: String(response.body.amount),