Clicking the top of the box should collapse it

This commit is contained in:
Mike Koch 2016-11-30 12:51:50 -05:00
parent c3c13e6291
commit ed87d6fc87
2 changed files with 9 additions and 0 deletions

View File

@ -253,4 +253,9 @@ div.ticket-info {
height: 0;
width: 0;
overflow:hidden;
}
.box-header h1.box-title {
width: 100%;
cursor: pointer;
}

View File

@ -85,6 +85,10 @@ var loadJquery = function()
.prop('selected', false)
.trigger('change');
});
$('.box-header h1.box-title').click(function() {
$(this).parent().find('[data-widget="collapse"]').click();
});
};
function calculateGrayCount(background) {