Miroca_Server_file_static
This commit is contained in:
13
www/static/file/kiosk/js/button.js
Normal file
13
www/static/file/kiosk/js/button.js
Normal file
@@ -0,0 +1,13 @@
|
||||
$( document ).ready(function() {
|
||||
$('.addoncheckbox').each(function() {
|
||||
if($(this).is(':disabled')) {
|
||||
$(this).parent().addClass('input-disabled');
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
$('.addoncheckbox').click(function() {
|
||||
$(this).parent().toggleClass('input-checked', this.checked);
|
||||
$(this).next().find('i').toggleClass('fa-plus fa-check');
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user