filebrowser/assets/public/js/application.js
2016-06-22 21:32:33 +01:00

21 lines
423 B
JavaScript

"use strict";
var deleteHandler = function(event) {
event.preventDefault();
let name = this.dataset.delete;
let element = document.getElementById(name);
document.removeChild(element);
//$('label[for="' + name + '"]').fadeOut().remove();
// $('#' + name).fadeOut().remove();
return false;
}
document.addEventListener("DOMContentLoaded", function(event) {
//alert("hugo is working");
return false;
});