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
|
wish_details
|
||||||
.modal({
|
.modal({
|
||||||
'onVisible' : function() {
|
'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(() => {
|
setTimeout(() => {
|
||||||
$(this).css('display', '');
|
$(this).css('display', '');
|
||||||
}, 0);
|
}, 0);
|
||||||
|
|
Loading…
Reference in a new issue