This commit is contained in:
grandeljay 2022-12-30 13:11:15 +01:00
parent 6631b4ebbd
commit 0511eff87d

View file

@ -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);