diff --git a/public/js/autosuggest.js b/public/js/autosuggest.js index 9d6b6a32..066ea1b7 100644 --- a/public/js/autosuggest.js +++ b/public/js/autosuggest.js @@ -158,8 +158,6 @@ TagAutoSuggest.prototype.fillContainer = function(response) { var self = this; node.addEventListener('click', function(event) { self.createNewTag(function(response) { - console.log('Nieuwe tag!!'); - console.log(response); self.appendCallback(response); }); self.closeContainer(); diff --git a/templates/PhotoPage.php b/templates/PhotoPage.php index a8300c65..91ed7dcc 100644 --- a/templates/PhotoPage.php +++ b/templates/PhotoPage.php @@ -176,9 +176,6 @@ class PhotoPage extends SubTemplate setTimeout(function() { var removeTag = function(event) { event.preventDefault(); - console.log(this); - console.log("Supposed to remove tag " + this.dataset["id"]); - var that = this; var request = new HttpRequest("post", "', $this->photo->getPageUrl(), '", "id_tag=" + this.dataset["id"] + "&delete", function(response) {