Merge branch 'master' of github.com:serghey-rodin/vesta

This commit is contained in:
Serghey Rodin 2016-11-15 11:22:35 +02:00
commit c0290f7137

View file

@ -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');