Avoid re-layout when displaying the page.

Use <span>/<span> instead of <ul>/<il> for task menu anchor, to avoid flickering items when the
menus are created.
This commit is contained in:
Francois Ferrand
2015-02-24 16:26:57 +01:00
parent 11d1314fbe
commit 6b09ff766a
5 changed files with 14 additions and 14 deletions

View File

@@ -11,8 +11,8 @@
<li><i class="fa fa-cog fa-fw"></i><?= $this->a(t('Settings'), 'config', 'index') ?></li>
<?php endif ?>
<li>
<ul class="dropdown">
<li>
<span class="dropdown">
<span>
<i class="fa fa-caret-down"></i> <a href="#" class="dropdown-menu"><?= t('Change dashboard view') ?></a>
<ul>
<li>
@@ -31,8 +31,8 @@
<a href="#" class="dashboard-toggle" data-toggle="activities"><?= t('Show/hide activities') ?></a>
</li>
</ul>
</li>
</ul>
</span>
</span>
</li>
</ul>
</div>