Remove script to require settings save

This commit is contained in:
Champ Camba
2023-07-07 13:47:53 +08:00
parent 13a3ca50a1
commit 56d57c5396
+1 -5
View File
@@ -29,11 +29,7 @@ jQuery(document).on("ready", function(){
UM_Secure.ajax('');
});
scan_capabilities.on("change", function(){
scan_button_elem.attr('disabled', true );
scan_button_elem.after( ' <small style="color: red;">' + wp.i18n.__( 'You must save the settings before you can run the scan.', 'ultimate-member' ) + '</small>' );
scan_capabilities.off("change");
})
},
ajax: function( last_capability ) {
let checkedCaps = [];