diff --git a/js/component/modal.js b/js/component/modal.js index 4f3ac37..bb8e497 100644 --- a/js/component/modal.js +++ b/js/component/modal.js @@ -105,38 +105,6 @@ beestat.component.modal.prototype.decorate_ = function() { this.decorate_buttons_(this.modal_content_); }; -/** - * Close the currently open modal. - */ -/* - * beestat.component.modal.close = function() { - * beestat.component.modal.open_modal.style('transform', 'translateX(-50%) scale(0)'); - * beestat.component.modal.open_mask.style('background', 'rgba(0, 0, 0, 0)'); - * $('body').firstElementChild().style('filter', ''); - */ - -/* - * setTimeout(function() { - * beestat.component.modal.open_modal.parentNode().removeChild( - * beestat.component.modal.open_modal - * ); - * beestat.component.modal.open_mask.parentNode().removeChild( - * beestat.component.modal.open_mask - * ); - */ - -/* - * delete beestat.component.modal.open_mask; - * delete beestat.component.modal.open_modal; - * }, 200); - */ - -/* - * $(window).removeEventListener('keydown.modal'); - * $(window).removeEventListener('click.modal'); - * }; - */ - /** * Close the currently open modal. */