Skip to content

Commit

Permalink
Merge pull request #34016 from dimagi/em/case-tile-links
Browse files Browse the repository at this point in the history
Update check to allow link clicks in case list rows/tiles
  • Loading branch information
nospame committed Jan 23, 2024
2 parents 9086301 + 0ddaeb6 commit 1575564
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@ hqDefine("cloudcare/js/formplayer/menus/views", function () {
if (!(
e.target.classList.contains('module-case-list-column-checkbox') || // multiselect checkbox
e.target.classList.contains("select-row-checkbox") || // multiselect select all
$(e.target).is('a') || // actual link, as in markdown
$(e.target).closest('a').length || // actual link, as in markdown
e.target.classList.contains('show-more') ||
$(e.target).parent().hasClass('show-more')
)) {
Expand Down

0 comments on commit 1575564

Please sign in to comment.