wait for img to load before hiding infobox toggle

dependabot/pip/master/sphinx-6.1.3
Marc Abonce Seguin 4 years ago committed by Alexandre Flament
parent ab20ca182c
commit 7e82817925

@ -204,7 +204,7 @@ $(document).ready(function(){
$(a.target).parent().attr("aria-selected", "true");
});
});
;$(document).ready(function() {
;window.addEventListener('load', function() {
// Hide infobox toggle if shrunk size already fits all content.
$('.infobox').each(function() {
var infobox_body = $(this).find('.infobox_body');

File diff suppressed because one or more lines are too long

@ -1,4 +1,4 @@
$(document).ready(function() {
window.addEventListener('load', function() {
// Hide infobox toggle if shrunk size already fits all content.
$('.infobox').each(function() {
var infobox_body = $(this).find('.infobox_body');

Loading…
Cancel
Save