Skip to content

Commit c0290f7

Browse files
author
Serghey Rodin
committed
Merge branch 'master' of github.com:serghey-rodin/vesta
2 parents 5a5a528 + 61a1005 commit c0290f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web/js/app.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1044,7 +1044,7 @@ hover_menu = function() {
10441044

10451045

10461046
function checkedAll(frmname) {
1047-
if ($('.l-unit.selected:not(.header)').length > 0) {
1047+
if ($('.l-unit.selected:not(.header)').length > 0 || !$('.l-unit').length ) {
10481048
$('.l-unit:not(.header)').removeClass("selected");
10491049
$('.ch-toggle').prop("checked", false);
10501050
$('.toggle-all').removeClass('clicked-on');

0 commit comments

Comments
 (0)