cleanup: Avoid useless return statements
Return statements are only useful if they return a value or break the regular function flow (i.e. early returns). Remove all returns that do neither. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/731
This commit is contained in:
@ -752,7 +752,6 @@ var AllView = class AllView extends BaseAppView {
|
||||
let maxY = this._adjustment.upper - this._adjustment.page_size;
|
||||
if (dragEvent.y >= gridBottom && currentY < maxY) {
|
||||
this.goToPage(this._grid.currentPage + 1);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user