diff --git a/overview.js b/overview.js index 0e74856..13a30cb 100644 --- a/overview.js +++ b/overview.js @@ -589,8 +589,9 @@ var dtpOverview = Utils.defineClass({ workAreaBox.set_origin(startX, startY); workAreaBox.set_size(workArea.width, workArea.height); - params = [workAreaBox, searchHeight, dashHeight, workspaceAppGridBox] - if (Config.PACKAGE_VERSION > '42.beta') { + if (Config.PACKAGE_VERSION < '42') { + params = [workAreaBox, searchHeight, dashHeight, workspaceAppGridBox] + } else { params = [box, workAreaBox, searchHeight, dashHeight, workspaceAppGridBox] } } else {