mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-03-28 17:42:57 +01:00
fixes #1302 keyboard shortcut / to filter plugins
This commit is contained in:
@@ -149,6 +149,13 @@ jQuery(document).ready(function() {
|
||||
|
||||
/*Add the filter research*/
|
||||
jQuery( document ).ready(function () {
|
||||
document.onkeydown = function(e) {
|
||||
if (e.keyCode == 58) {
|
||||
jQuery(".pluginFilter input.search-input").focus();
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
jQuery(".pluginFilter input").on("input", function() {
|
||||
let text = jQuery(this).val().toLowerCase();
|
||||
var searchNumber = 0;
|
||||
|
||||
Reference in New Issue
Block a user