mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Make the console quieter by default
This commit is contained in:
parent
e5343cada8
commit
e12e6731b2
56 changed files with 286 additions and 273 deletions
|
@ -1,7 +1,7 @@
|
|||
define(["inputManager", "layoutManager"], function (inputManager, layoutManager) {
|
||||
"use strict";
|
||||
|
||||
console.log("keyboardnavigation");
|
||||
console.debug("keyboardnavigation");
|
||||
|
||||
/**
|
||||
* Key name mapping.
|
||||
|
@ -45,7 +45,7 @@ define(["inputManager", "layoutManager"], function (inputManager, layoutManager)
|
|||
try {
|
||||
hasFieldKey = "key" in new KeyboardEvent("keydown");
|
||||
} catch (e) {
|
||||
console.log("error checking 'key' field");
|
||||
console.error("error checking 'key' field");
|
||||
}
|
||||
|
||||
if (!hasFieldKey) {
|
||||
|
@ -142,7 +142,7 @@ define(["inputManager", "layoutManager"], function (inputManager, layoutManager)
|
|||
}
|
||||
|
||||
if (capture) {
|
||||
console.log("Disabling default event handling");
|
||||
console.debug("Disabling default event handling");
|
||||
e.preventDefault();
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue