mirror of
https://github.com/myvesta/vesta
synced 2025-07-31 03:51:14 -07:00
WEB. fixed emplty list toggle all
This commit is contained in:
parent
515b28cc75
commit
61a1005bdc
1 changed files with 1 additions and 1 deletions
|
@ -1044,7 +1044,7 @@ hover_menu = function() {
|
|||
|
||||
|
||||
function checkedAll(frmname) {
|
||||
if ($('.l-unit.selected:not(.header)').length > 0) {
|
||||
if ($('.l-unit.selected:not(.header)').length > 0 || !$('.l-unit').length ) {
|
||||
$('.l-unit:not(.header)').removeClass("selected");
|
||||
$('.ch-toggle').prop("checked", false);
|
||||
$('.toggle-all').removeClass('clicked-on');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue