Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Show the tabs after the page has loaded to prevent Firefox from rende…

…ring the

unstyled page and then flashing.  Fixes #1705.
  • Loading branch information...
commit 4e7524664a24dd2ca2309c9d67843a19e74b48e0 1 parent 41bc967
Bharat Mediratta bharat authored
Showing with 5 additions and 1 deletion.
  1. +5 −1 modules/g2_import/views/admin_g2_import.html.php
6 modules/g2_import/views/admin_g2_import.html.php
View
@@ -30,9 +30,13 @@
.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>
Please sign in to comment.
Something went wrong with that request. Please try again.