1
0
mirror of https://github.com/Radarr/Radarr.git synced 2026-04-24 22:35:49 -04:00

Linting fixes for frontend following eslint package upgrade

This commit is contained in:
Robin Dadswell
2022-03-20 23:20:34 +00:00
parent 966963b53d
commit 6f42dd671f
313 changed files with 969 additions and 969 deletions
+4 -4
View File
@@ -74,14 +74,14 @@ function keyboardShortcuts(WrappedComponent) {
bindShortcut = (key, callback, options = {}) => {
this._mousetrap.bind(key, callback);
this._mousetrapBindings[key] = options;
}
};
unbindShortcut = (key) => {
if (this._mousetrap != null) {
delete this._mousetrapBindings[key];
this._mousetrap.unbind(key);
}
}
};
unbindAllShortcuts = () => {
const keys = Object.keys(this._mousetrapBindings);
@@ -95,7 +95,7 @@ function keyboardShortcuts(WrappedComponent) {
});
this._mousetrapBindings = {};
}
};
stopCallback = (event, element, combo) => {
const binding = this._mousetrapBindings[combo];
@@ -110,7 +110,7 @@ function keyboardShortcuts(WrappedComponent) {
element.tagName === 'TEXTAREA' ||
(element.contentEditable && element.contentEditable === 'true')
);
}
};
//
// Render