Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implementing a JS function to stop event propagation for nested oncli…
…cks/hrefs, found in tables. This function forces the event in the element clicked to be the one that is executed, rather than working up the DOM to the highest level one. For some reason Safari 11.1 changed the previous behaviour of following the href link and not executing the onclick that's at a higher level in the DOM so this code was necessary. An added benefit is that now the short variants results table implements variant information links per row rather than per cell, this is a MASSIVE reduction in code to transfer and render so should speed up loading this page when many variants are returned!
- Loading branch information
Showing
3 changed files
with
25 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters