mirror of
https://github.com/unraid/webgui.git
synced 2026-01-07 18:19:54 -06:00
Update gui_search.page
This commit is contained in:
@@ -57,7 +57,7 @@ function setupGUIsearch() {
|
||||
|
||||
if (navigator.appVersion.indexOf("Mac")!=-1) {
|
||||
window.addEventListener('keydown', function (e) {
|
||||
if (!e.altKey && e.metaKey && e.keyCode == 75) {
|
||||
if (!e.shiftKey && !e.altKey && e.metaKey && e.keyCode == 75) {
|
||||
e.preventDefault();
|
||||
e.stopPropagation();
|
||||
if ( $("#guiSearchBoxSpan").is(":visible") ) {
|
||||
@@ -71,7 +71,7 @@ function setupGUIsearch() {
|
||||
});
|
||||
} else {
|
||||
window.addEventListener('keydown', function (e) {
|
||||
if (!e.altKey && e.ctrlKey && e.keyCode == 75) {
|
||||
if (!e.shiftKey && !e.altKey && e.ctrlKey && e.keyCode == 75) {
|
||||
e.preventDefault();
|
||||
e.stopPropagation();
|
||||
if ( $("#guiSearchBoxSpan").is(":visible") ) {
|
||||
|
||||
Reference in New Issue
Block a user