From d3545fc3973496ca234678e4fef9f9daeba8c301 Mon Sep 17 00:00:00 2001 From: lideming Date: Thu, 3 Dec 2020 01:50:30 +0800 Subject: [PATCH] Merge jQuery ready functions --- src/views/members.pug | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/views/members.pug b/src/views/members.pug index 0a56c20..69d91bb 100644 --- a/src/views/members.pug +++ b/src/views/members.pug @@ -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}); });