Remove leftover debug statements.

This commit is contained in:
Aaron van Geffen 2019-03-09 13:58:37 +01:00
parent 42e5c7fe37
commit 8ec6c227d5
2 changed files with 0 additions and 5 deletions

View File

@ -158,8 +158,6 @@ TagAutoSuggest.prototype.fillContainer = function(response) {
var self = this; var self = this;
node.addEventListener('click', function(event) { node.addEventListener('click', function(event) {
self.createNewTag(function(response) { self.createNewTag(function(response) {
console.log('Nieuwe tag!!');
console.log(response);
self.appendCallback(response); self.appendCallback(response);
}); });
self.closeContainer(); self.closeContainer();

View File

@ -176,9 +176,6 @@ class PhotoPage extends SubTemplate
setTimeout(function() { setTimeout(function() {
var removeTag = function(event) { var removeTag = function(event) {
event.preventDefault(); event.preventDefault();
console.log(this);
console.log("Supposed to remove tag " + this.dataset["id"]);
var that = this; var that = this;
var request = new HttpRequest("post", "', $this->photo->getPageUrl(), '", var request = new HttpRequest("post", "', $this->photo->getPageUrl(), '",
"id_tag=" + this.dataset["id"] + "&delete", function(response) { "id_tag=" + this.dataset["id"] + "&delete", function(response) {