All new accounts created on Gitlab now require administrator approval. If you invite any collaborators, please let Flux staff know so they can approve the accounts.

Commit 1d64bc68 authored by Leigh B Stoller's avatar Leigh B Stoller

Fix picker problem reported by Jason Boles; clicking on the project

instead of the profile name would cause a JS error.
parent fd4a01d2
......@@ -223,6 +223,10 @@ $(function ()
});
$('li.profile-item').click(function (event) {
event.preventDefault();
// Ignore clicks over the project. Probably a better way to do this.
if (! $(event.target).is("li")) {
return;
}
PickerEvent("switch", $(event.target),
$('#profile_name').scrollTop());
ShowProfileSelection(event.target);
......
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