workspace: Don't initialize variables to undefined
The declaration itself already does this implicitly. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/710
This commit is contained in:
parent
7db5f8b28e
commit
f54e7804c5
@ -1985,7 +1985,7 @@ var Workspace = class {
|
||||
}
|
||||
|
||||
_onCloneSelected(clone, time) {
|
||||
let wsIndex = undefined;
|
||||
let wsIndex;
|
||||
if (this.metaWorkspace)
|
||||
wsIndex = this.metaWorkspace.index();
|
||||
Main.activateWindow(clone.metaWindow, time, wsIndex);
|
||||
|
Loading…
Reference in New Issue
Block a user