Refactor
This commit is contained in:
parent
6631b4ebbd
commit
0511eff87d
1 changed files with 4 additions and 1 deletions
|
@ -33,7 +33,10 @@ $(function () {
|
|||
wish_details
|
||||
.modal({
|
||||
'onVisible' : function() {
|
||||
/** Dirty hack to change the default display: block to display: flex. */
|
||||
/**
|
||||
* Dirty hack to change the default `display: block;` to
|
||||
* `display: flex;` (using CSS).
|
||||
*/
|
||||
setTimeout(() => {
|
||||
$(this).css('display', '');
|
||||
}, 0);
|
||||
|
|
Loading…
Reference in a new issue