mirror of
https://github.com/beestat/app.git
synced 2025-07-09 03:04:07 -04:00
Removed dead code from modal
This commit is contained in:
parent
1ba9118798
commit
50828de161
@ -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.
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user