Merge "Status: Don't toggle panel when clicking patch link"

This commit is contained in:
Zuul 2017-09-19 19:04:56 +00:00 committed by Gerrit Code Review
commit 5c2735946a
1 changed files with 5 additions and 0 deletions

View File

@ -542,6 +542,11 @@
// Toggle showing/hiding the patchset when the header is
// clicked.
if (e.target.nodeName.toLowerCase() === 'a') {
// Ignore clicks from gerrit patch set link
return;
}
// Grab the patchset panel
var $panel = $(e.target).parents('.zuul-change');
var $body = $panel.children('.zuul-patchset-body');