WorkspaceThumnail: fix typo
An if is missing, causing the subsequent expression to evaluate to nothing, and the invocation it should be protect to be unconditional.
This commit is contained in:
parent
8d3e5ea507
commit
b1064cbe50
@ -597,7 +597,7 @@ ThumbnailsBox.prototype = {
|
|||||||
// ... and bam, a workspace, good as new.
|
// ... and bam, a workspace, good as new.
|
||||||
source.metaWindow.change_workspace_by_index(newWorkspaceIndex,
|
source.metaWindow.change_workspace_by_index(newWorkspaceIndex,
|
||||||
true, time);
|
true, time);
|
||||||
else (source.shellWorkspaceLaunch)
|
else if (source.shellWorkspaceLaunch)
|
||||||
source.shellWorkspaceLaunch({ workspace: newWorkspaceIndex,
|
source.shellWorkspaceLaunch({ workspace: newWorkspaceIndex,
|
||||||
timestamp: time });
|
timestamp: time });
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user