Merge jQuery ready functions

This commit is contained in:
lideming 2020-12-03 01:50:30 +08:00
parent 8edaa9aa81
commit d3545fc397

View file

@ -11,15 +11,9 @@ block net_content
$('.authCheck').on('click', function() {
$.post('', {'id': this.value, 'auth': this.checked});
});
});
$(function() {
$('.bridgeCheck').on('click', function() {
$.post('', {'id': this.value, 'activeBridge': this.checked});
});
});
$(function() {
$('.text').on('change', function() {
$.post('', {'id': this.name, 'name': this.value});
});