diff --git a/extensions/places-menu/placeDisplay.js b/extensions/places-menu/placeDisplay.js index ff41eb07..a80e1a3b 100644 --- a/extensions/places-menu/placeDisplay.js +++ b/extensions/places-menu/placeDisplay.js @@ -20,8 +20,8 @@ const Hostname1Iface = ' \ const Hostname1 = Gio.DBusProxy.makeProxyWrapper(Hostname1Iface); class PlaceInfo { - constructor() { - this._init.apply(this, arguments); + constructor(...params) { + this._init(...params); } _init(kind, file, name, icon) {