Commit 1d64bc68 authored by Leigh Stoller's avatar Leigh 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