diff options
| author | Marc Abonce Seguin <marc-abonce@mailbox.org> | 2020-09-07 22:27:10 -0700 |
|---|---|---|
| committer | Alexandre Flament <alex@al-f.net> | 2020-09-10 09:54:30 +0200 |
| commit | 7e8281792586c43c72caab4f1d484323063d6657 (patch) | |
| tree | 1d4ce7ded15a86b7bb3d0f50fc36b9b57066c07e /searx/static/themes/oscar/js/searx_src | |
| parent | ab20ca182cc9d3ea12029fb04181377d56b5e814 (diff) | |
wait for img to load before hiding infobox toggle
Diffstat (limited to 'searx/static/themes/oscar/js/searx_src')
| -rw-r--r-- | searx/static/themes/oscar/js/searx_src/infobox.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/static/themes/oscar/js/searx_src/infobox.js b/searx/static/themes/oscar/js/searx_src/infobox.js index 0c80bf37b..cb7f1eec5 100644 --- a/searx/static/themes/oscar/js/searx_src/infobox.js +++ b/searx/static/themes/oscar/js/searx_src/infobox.js @@ -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'); |