misc: remove unnecessary double namespacing from js code (#31093)

This commit is contained in:
Frédéric Péters 2019-03-05 14:12:22 +01:00
parent 331741a091
commit 0e224961b8
1 changed files with 19 additions and 23 deletions

View File

@ -209,14 +209,11 @@ $(function() {
$(checkboxes[checkboxes.length-1]).parents('tr').next().find('td:nth-child(' + (column_index+1) + ')').addClass('clickable');
}
$(function() {
$('body').on('click', 'div.cell.foldable > div > h2:first-child', function() {
$(this).parents('div.foldable').toggleClass('folded');
return false;
});
});
$(function() {
$('body').on('click', 'a.calchunk', function(event){
event.preventDefault();
var $elem = $(this);
@ -234,7 +231,6 @@ $(function() {
}
});
});
});
$('.bookingcalendar table').each(function(idx, elem) { set_booking_calendar_sensitivity(elem); });