Projet

Général

Profil

0001-js-also-look-for-clickable-row-target-in-data-url-at.patch

Frédéric Péters, 04 mai 2022 13:40

Télécharger (917 octets)

Voir les différences:

Subject: [PATCH] js: also look for clickable row target in data-url attribute
 (#64844)

 gadjo/static/js/gadjo.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
gadjo/static/js/gadjo.js
492 492
        if (window.getSelection().toString()) {
493 493
          return false;
494 494
        }
495
        var href = $(this).find('a[href]').prop('href');
495
        var href = $(this).data('url') || $(this).find('a[href]').prop('href');
496 496
        if (href) {
497 497
          if (event.which == 2 || event.ctrlKey) {
498 498
            window.open(href, '_blank');
499
-