Commit 051dc0ef authored by Leigh B Stoller's avatar Leigh B Stoller

Minor bug fix.

parent 40154974
......@@ -540,7 +540,7 @@ function (_, Constraints, sup, ppstart, JacksEditor, aboutaptString, aboutcloudS
sites[siteid] = siteid;
});
if (!isadmin || Object.keys(sites) == 0) {
if (!isadmin || Object.keys(sites).length <= 1) {
$("#site_selector").addClass("hidden");
$("#nosite_selector").removeClass("hidden");
// Clear the form data.
......
Markdown is supported
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