From 8ed21d27c9a2a80c4d83a5322972027e0140474a Mon Sep 17 00:00:00 2001 From: negesti Date: Wed, 26 Aug 2020 12:13:43 +0200 Subject: [PATCH] fix 3.28 compatibility check (#178) --- extension.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extension.js b/extension.js index 54bfdd7..748b608 100644 --- a/extension.js +++ b/extension.js @@ -81,7 +81,7 @@ MoveWindow.prototype = { return 0; } - if (Main.panel.get_y()) { + if (Main.panel.get_y) { return Main.panel.get_y() + Main.panel.get_height(); } else { return Main.panel.actor.y + Main.panel.actor.height;