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:
Giovanni Campagna 2011-11-20 11:57:29 +01:00
parent 8d3e5ea507
commit b1064cbe50

View File

@ -597,7 +597,7 @@ ThumbnailsBox.prototype = {
// ... and bam, a workspace, good as new.
source.metaWindow.change_workspace_by_index(newWorkspaceIndex,
true, time);
else (source.shellWorkspaceLaunch)
else if (source.shellWorkspaceLaunch)
source.shellWorkspaceLaunch({ workspace: newWorkspaceIndex,
timestamp: time });