Update a call to a deprecated method

Reported by a GitHub action:
https://github.com/wikimedia/jquery.uls/pull/478/files#file-src-jquery-uls-core-js-L331
This commit is contained in:
Amir E. Aharoni
2024-05-06 23:00:34 +03:00
parent d8b0af43a0
commit 1f4fc30aa5

View File

@@ -328,7 +328,7 @@
if ( e.keyCode === 27 ) { // escape
this.cancel();
this.$element.focus();
this.$element.trigger( 'focus' );
e.preventDefault();
e.stopPropagation();
}