diff --git a/guacamole-common-js/src/main/webapp/modules/OnScreenKeyboard.js b/guacamole-common-js/src/main/webapp/modules/OnScreenKeyboard.js index 96cd5f15f..3657843d3 100644 --- a/guacamole-common-js/src/main/webapp/modules/OnScreenKeyboard.js +++ b/guacamole-common-js/src/main/webapp/modules/OnScreenKeyboard.js @@ -569,7 +569,7 @@ Guacamole.OnScreenKeyboard = function(layout) { // Add key to DOM, maintain scale div.appendChild(keyElement); - scaledElements.push(new ScaledElement(div, osk.layout.keyWidth[object] || 1, 1, true)); + scaledElements.push(new ScaledElement(div, osk.layout.keyWidths[object] || 1, 1, true)); } // end if object is key name @@ -650,7 +650,7 @@ Guacamole.OnScreenKeyboard.Layout = function(template) { * * @type Object. */ - this.keyWidth = template.keyWidth || {}; + this.keyWidths = template.keyWidths || {}; }; diff --git a/guacamole/src/main/webapp/layouts/en-us-qwerty.json b/guacamole/src/main/webapp/layouts/en-us-qwerty.json index 37152a94a..de0751708 100644 --- a/guacamole/src/main/webapp/layouts/en-us-qwerty.json +++ b/guacamole/src/main/webapp/layouts/en-us-qwerty.json @@ -371,7 +371,7 @@ }, - "keyWidth" : { + "keyWidths" : { "Back" : 2, "Tab" : 1.5,