diff options
author | Alex Pott <alex.a.pott@googlemail.com> | 2020-05-31 12:21:06 +0100 |
---|---|---|
committer | Alex Pott <alex.a.pott@googlemail.com> | 2020-05-31 12:21:06 +0100 |
commit | 0c74be7ae2dddfcddf933480331186394d5bb50e (patch) | |
tree | a74eb9fd7a0ceea0b6df190edf77326b8c6d71aa /core/modules/contextual/js/contextual.js | |
parent | 40d62a67e71946458586ad4a450b2a9f769ffbeb (diff) | |
download | drupal-0c74be7ae2dddfcddf933480331186394d5bb50e.tar.gz drupal-0c74be7ae2dddfcddf933480331186394d5bb50e.zip |
Issue #2891603 by eiriksm, alexpott, charlietoleary, Grayle, drclaw, fgm: Contextual links can't handle multiple occurrences of the same contextual links (again)
Diffstat (limited to 'core/modules/contextual/js/contextual.js')
-rw-r--r-- | core/modules/contextual/js/contextual.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/modules/contextual/js/contextual.js b/core/modules/contextual/js/contextual.js index 97a7453d3f6..62c9e2c3215 100644 --- a/core/modules/contextual/js/contextual.js +++ b/core/modules/contextual/js/contextual.js @@ -108,7 +108,7 @@ if (html && html.length) { window.setTimeout(function () { - initContextual($context.find("[data-contextual-id=\"".concat(contextualID.id, "\"]")), html); + initContextual($context.find("[data-contextual-id=\"".concat(contextualID.id, "\"]:empty")).eq(0), html); }); return; } |