6f0e8cf11dd3ead8170cf978f2587b768bc1d55a max Mon Oct 10 06:58:07 2022 -0700 finally was able to reproduce a bug I've observed a few times: the event listener on SVGs does not always return the SVG but can also return the PATH element as the target, depending on where the user clicks. This lead to non-working copy click handler on the SVG icon. Fixed now. refs #29583 diff --git src/hg/js/hgHubConnect.js src/hg/js/hgHubConnect.js index 6f262ea..a3e7bd3 100644 --- src/hg/js/hgHubConnect.js +++ src/hg/js/hgHubConnect.js @@ -100,32 +100,32 @@ } }); $('#hubDbFilter').bind('keypress', function(e) { // binds listener to text field if (e.which === 13) { // listens for return key e.preventDefault(); // prevents return from also submitting whole form $('input[name="hubSearchButton"]').focus().click(); // clicks db filter button } }); $('.pasteIcon').bind('click', function(e) { // The hgTracks link is in the element two elements before the icon SVG: //