mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-27 23:29:57 +09:00
Fix #2179 missing document/comment controls when counter addon is not active
This commit is contained in:
parent
f2c58a0a14
commit
08ce7b18a8
4 changed files with 27 additions and 28 deletions
13
modules/admin/tpl/js/dashboard_default.js
Normal file
13
modules/admin/tpl/js/dashboard_default.js
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
'use strict';
|
||||
|
||||
$(function() {
|
||||
var items = $('.dashboard>div>section>ul>li');
|
||||
items.on('mouseenter focusin', function() {
|
||||
$(this).addClass('hover').find('>.action').show();
|
||||
});
|
||||
items.on('mouseleave focusout', function() {
|
||||
if(!$(this).find(':focus').length) {
|
||||
$(this).removeClass('hover').find('>.action').hide();
|
||||
}
|
||||
});
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue