diff --git a/js/ui/keyboard.js b/js/ui/keyboard.js index 866382e4f..10a21cbe0 100644 --- a/js/ui/keyboard.js +++ b/js/ui/keyboard.js @@ -198,7 +198,7 @@ class Suggestions extends St.BoxLayout { add(word, callback) { let button = new St.Button({ label: word }); button.connect('clicked', callback); - this.add(button); + this.add_child(button); } clear() {