Sha256: 4f85a4dfec55f0ba80062dff8a34d3467bb317b4feca4715237f9950c4e08c32
Contents?: true
Size: 572 Bytes
Versions: 44
Compression:
Stored size: 572 Bytes
Contents
/* eslint-disable no-empty */ (function () { let inviteUsersButton = document.querySelector(".invite-users-link"); if (inviteUsersButton !== null) { inviteUsersButton.addEventListener("click", function (event) { let link = document.querySelector("#committee_link"), range = document.createRange(); event.preventDefault(); range.selectNode(link); window.getSelection().addRange(range); try { document.execCommand("copy"); } catch (err) { } window.getSelection().removeAllRanges(); }); } }());
Version data entries
44 entries across 44 versions & 1 rubygems