diff --git a/js/ui/dateMenu.js b/js/ui/dateMenu.js index 18b5b0b4f..1ce377936 100644 --- a/js/ui/dateMenu.js +++ b/js/ui/dateMenu.js @@ -370,8 +370,7 @@ const IndicatorPad = new Lang.Class({ _init: function(actor) { this._source = actor; - this._source.connect('notify::visible', - Lang.bind(this, this.queue_relayout)); + this._source.connect('notify::visible', () => { this.queue_relayout(); }); this.parent(); },