Fix jquery loading in the hidden frame

This commit is contained in:
Julia Radzhabova
2024-06-27 18:59:56 +03:00
parent cf1e271cd5
commit 3785b25fd0
3 changed files with 6 additions and 2 deletions

View File

@ -201,8 +201,8 @@ define([], function () {
needRepaint = true; needRepaint = true;
else if (needRepaint && me.innerWidth>0) { else if (needRepaint && me.innerWidth>0) {
needRepaint = false; needRepaint = false;
jQuery.support && jQuery.support.forceStyleTests();
Common.NotificationCenter.trigger('app:repaint'); Common.NotificationCenter.trigger('app:repaint');
console.log(me.innerWidth);
} }
}, },
checkSizeIE = function () { checkSizeIE = function () {

View File

@ -6409,6 +6409,10 @@ var rboxStyle = new RegExp( cssExpand.join( "|" ), "i" );
documentElement.removeChild( table ); documentElement.removeChild( table );
} }
return reliableTrDimensionsVal; return reliableTrDimensionsVal;
},
forceStyleTests: function() {
div = document.createElement( "div" );
computeStyleTests();
} }
} ); } );
} )(); } )();

File diff suppressed because one or more lines are too long