diff options
author | Bharat Mediratta <bharat@menalto.com> | 2011-04-24 23:04:50 -0700 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2011-04-24 23:04:50 -0700 |
commit | 4e7524664a24dd2ca2309c9d67843a19e74b48e0 (patch) | |
tree | 0459bd4b5ae10726c1e6218f39a59364b7f8d3c1 /modules/g2_import | |
parent | 41bc967808bff9add8f75b441169a4ba46213f24 (diff) |
Show the tabs after the page has loaded to prevent Firefox from rendering the
unstyled page and then flashing. Fixes #1705.
Diffstat (limited to 'modules/g2_import')
-rw-r--r-- | modules/g2_import/views/admin_g2_import.html.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/modules/g2_import/views/admin_g2_import.html.php b/modules/g2_import/views/admin_g2_import.html.php index 2f4a1b28..9c4eb840 100644 --- a/modules/g2_import/views/admin_g2_import.html.php +++ b/modules/g2_import/views/admin_g2_import.html.php @@ -30,9 +30,13 @@ $("document").ready(function() { .tabs("select", 1) <? endif ?> ; + + // Show the tabs after the page has loaded to prevent Firefox from rendering the + // unstyled page and then flashing. + $("#g-admin-g2-import-tabs").show(); }); </script> - <div id="g-admin-g2-import-tabs" class="g-block-content"> + <div id="g-admin-g2-import-tabs" class="g-block-content" style="display: none"> <ul> <li> <a href="#g-admin-g2-import-configure"><?= t("1. Configure Gallery2 path") ?></a> |