Take keyboard control setting into account for possible check
Solves #1660
This commit is contained in:
1 parent
726787e4db
commit
a735bcc18d
1 file changed
+1
-1
@@ -41,7 +41,7 @@ $(function() {
|
||||
self.keycontrolActive = ko.observable(false);
|
||||
self.keycontrolHelpActive = ko.observable(false);
|
||||
self.keycontrolPossible = ko.pureComputed(function () {
|
||||
return self.isOperational() && !self.isPrinting() && self.loginState.isUser() && !$.browser.mobile;
|
||||
return self.settings.feature_keyboardControl() && self.isOperational() && !self.isPrinting() && self.loginState.isUser() && !$.browser.mobile;
|
||||
});
|
||||
self.showKeycontrols = ko.pureComputed(function () {
|
||||
return self.keycontrolActive() && self.keycontrolPossible();
|
||||
|
||||
Reference in new issue
Block a user