Commit 9d4783a3 authored by Marcel Rieger's avatar Marcel Rieger
Browse files

Fix menu bug when switching between workspaces.

parent 3e6bcd09
......@@ -412,7 +412,7 @@ var Workspace = Emitter.extend({
var prevent = self.loading()
|| (!self.selected() && vispa.extensions.getWorkspaceInstances(self.getId()).length)
if (prevent) {
event.stopPropagation();
setTimeout(function() { $("body").trigger("click") }, 0);
event.preventDefault();
}
if (!self.loading())
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment