mirror of
https://github.com/ONLYOFFICE/web-apps.git
synced 2026-02-10 18:05:32 +08:00
Fix jquery loading in the hidden frame
This commit is contained in:
@ -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 () {
|
||||||
|
|||||||
4
vendor/jquery/jquery.js
vendored
4
vendor/jquery/jquery.js
vendored
@ -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();
|
||||||
}
|
}
|
||||||
} );
|
} );
|
||||||
} )();
|
} )();
|
||||||
|
|||||||
2
vendor/jquery/jquery.min.js
vendored
2
vendor/jquery/jquery.min.js
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user