* Fix bug #14804.
This commit is contained in:
@@ -19,7 +19,7 @@ include 'chosen.html.php';
|
||||
<div id='userMenu'>
|
||||
<ul id="userNav" class="nav nav-default">
|
||||
<li class='dropdown dropdown-hover has-avatar'><?php common::printUserBar();?></li>
|
||||
<li class='dropdown dropdown-hover'><?php common::printCreateList();?></li>
|
||||
<li class='dropdown dropdown-hover' id='globalCreate'><?php common::printCreateList();?></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -874,4 +874,16 @@ $(document).ready(function()
|
||||
{
|
||||
$('a').attr('target', '');
|
||||
});
|
||||
|
||||
/* Hide the global create drop-down when hovering over the avatar. */
|
||||
$('.has-avatar').hover(function()
|
||||
{
|
||||
$(this).next().removeClass('open');
|
||||
});
|
||||
|
||||
/* Hide the avatar drop-down when hovering over the global create button. */
|
||||
$('#globalCreate').hover(function()
|
||||
{
|
||||
$(this).prev().removeClass('open');
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user