mirror of
https://github.com/apache/superset.git
synced 2024-09-19 20:19:37 -04:00
1101de5ae4
* add airbnb eslint settings and lint all the code * fix linting erros
11 lines
335 B
JavaScript
11 lines
335 B
JavaScript
const $ = require('jquery');
|
|
const utils = require('./modules/utils');
|
|
$(document).ready(function () {
|
|
$(':checkbox[data-checkbox-api-prefix]').change(function () {
|
|
const $this = $(this);
|
|
const prefix = $this.data('checkbox-api-prefix');
|
|
const id = $this.attr('id');
|
|
utils.toggleCheckbox(prefix, '#' + id);
|
|
});
|
|
});
|