mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-08-08 16:10:56 -04:00
Hide the admin menu and show it after it's loaded to minimize flicker.
Normalize the comment text about this interaction between admin_wind and wind.
This commit is contained in:
@@ -53,9 +53,11 @@
|
||||
← <?= t("back to the ...") ?>
|
||||
</a>
|
||||
<?= $theme->user_menu() ?>
|
||||
<div id="g-site-admin-menu" class="ui-helper-clearfix">
|
||||
<!-- hide the menu until after the page has loaded, to minimize menu flicker -->
|
||||
<div id="g-site-admin-menu" class="ui-helper-clearfix" style="visibility: hidden">
|
||||
<?= $theme->admin_menu() ?>
|
||||
</div>
|
||||
<script type="text/javascript"> $(document).ready(function() { $("#g-site-admin-menu").css("visibility", "visible"); }) </script>
|
||||
<?= $theme->admin_header_bottom() ?>
|
||||
</div>
|
||||
<div id="bd">
|
||||
|
||||
Reference in New Issue
Block a user