Skip to content

Commit

Permalink
Removing old create menu item
Browse files Browse the repository at this point in the history
  • Loading branch information
alexsielicki committed Jul 14, 2015
1 parent b1cbbc7 commit e10c898
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web-server/js/slycat-navbar.js
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ define("slycat-navbar", ["slycat-server-root", "slycat-web-client", "slycat-chan
{
if("model-type" in wizard.require && component.model().length && wizard.require["model-type"].indexOf(component.model()[0]["model-type"]()) == -1)
return false;
return wizard.require.context() === "model" && component.model_id();
return wizard.require.context() === "model" && component.model_id() && wizard.type() !== "slycat-create-saved-bookmark";
}
var bookmark_wizard_filter = function(wizard)
{
Expand Down

0 comments on commit e10c898

Please sign in to comment.