Fixed a few warnings about deprecated jQuery features
This commit is contained in:
parent
4bd0a820d1
commit
4e59df1958
|
|
@ -52,7 +52,7 @@ if ( !class_exists('Puc_v4p10_DebugBar_Extension', false) ):
|
|||
'puc-debug-bar-js-v4',
|
||||
$this->getLibraryUrl("/js/debug-bar.js"),
|
||||
array('jquery'),
|
||||
'20170516'
|
||||
'20201209'
|
||||
);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -20,12 +20,12 @@ jQuery(function($) {
|
|||
);
|
||||
}
|
||||
|
||||
$('.puc-debug-bar-panel-v4 input[name="puc-check-now-button"]').click(function() {
|
||||
$('.puc-debug-bar-panel-v4 input[name="puc-check-now-button"]').on('click', function() {
|
||||
runAjaxAction(this, 'puc_v4_debug_check_now');
|
||||
return false;
|
||||
});
|
||||
|
||||
$('.puc-debug-bar-panel-v4 input[name="puc-request-info-button"]').click(function() {
|
||||
$('.puc-debug-bar-panel-v4 input[name="puc-request-info-button"]').on('click', function() {
|
||||
runAjaxAction(this, 'puc_v4_debug_request_info');
|
||||
return false;
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in New Issue