diff --git a/js/ui/appDisplay.js b/js/ui/appDisplay.js index 2623a4607..78309361f 100644 --- a/js/ui/appDisplay.js +++ b/js/ui/appDisplay.js @@ -313,7 +313,7 @@ BaseAppSearchProvider.prototype = { timestamp: null }); let app = this._appSys.get_app(id); - app.open_new_window(params.workspace ? params.workspace.get_index() : -1); + app.open_new_window(params.workspace ? params.workspace.index() : -1); } };