Skip to content

Commit

Permalink
fix 3.28 compatibility check (#178)
Browse files Browse the repository at this point in the history
  • Loading branch information
negesti committed Aug 26, 2020
1 parent 36db4a0 commit 8ed21d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extension.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 8ed21d2

Please sign in to comment.