[gnome-shell/wip/carlosg/osk-emoji-and-keypad: 40/40] keyboard: Fix fallout from porting to ES6 classes



commit cd0286051fa6dd09bca4b085ce8b3d2a55091e49
Author: Carlos Garnacho <carlosg gnome org>
Date:   Sat Jan 26 13:59:03 2019 +0100

    keyboard: Fix fallout from porting to ES6 classes
    
    The Key constructor originally took 2 arguments.

 js/ui/keyboard.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/js/ui/keyboard.js b/js/ui/keyboard.js
index e09b5f2e4..d428c4a9c 100644
--- a/js/ui/keyboard.js
+++ b/js/ui/keyboard.js
@@ -251,7 +251,7 @@ var LanguageSelectionPopup = class extends PopupMenu.PopupMenu {
 };
 
 var Key = class Key {
-    constructor(key) {
+    constructor(key, extendedKeys) {
         this.key = key || "";
         this.keyButton = this._makeKey(this.key);
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]