0001-misc-add-a-focus-in-class-when-a-text-element-has-th.patch
combo/public/static/js/combo.public.js | ||
---|---|---|
246 | 246 |
$('body').on('change', '.bookingcalendar input', function() { |
247 | 247 |
set_booking_calendar_sensitivity($(this).parents('table')); |
248 | 248 |
}); |
249 | ||
250 |
$('input:not([type=checkbox]):not([type=radio]), textarea').focusin(function() { |
|
251 |
$('body').addClass('focus-in'); |
|
252 |
}).focusout(function() { |
|
253 |
$('body').removeClass('focus-in'); |
|
254 |
}); |
|
249 | 255 |
}); |
250 |
- |