public: add a generic togglable event to combo.public.js
This commit is contained in:
parent
dfac40936e
commit
50a8619721
|
@ -21,4 +21,9 @@ $(function() {
|
|||
var $elem = $(elem);
|
||||
combo_load_cell($elem, $elem.parents('div.cell').data('ajax-cell-url'));
|
||||
});
|
||||
|
||||
/* utility functions and events, for themes */
|
||||
$('.togglable').on('click', function() {
|
||||
$(this).toggleClass('toggled');
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue