Merge "Replace use of deprecated $.debounce()"

This commit is contained in:
jenkins-bot 2021-04-30 01:12:35 +00:00 committed by Gerrit Code Review
commit 31db12da9e
2 changed files with 2 additions and 2 deletions

View file

@ -35,7 +35,7 @@
"ext.inputBox": {
"scripts": "ext.inputBox.js",
"dependencies": [
"jquery.throttle-debounce"
"mediawiki.util"
],
"targets": [
"mobile",

View file

@ -24,6 +24,6 @@
onChange.call( $input.get( i ) );
}
$input.on( 'keyup input change', $.debounce( 50, onChange ) );
$input.on( 'keyup input change', mw.util.debounce( 50, onChange ) );
} );
}( jQuery, mediaWiki ) );