|
|
|
@ -17,7 +17,7 @@
|
|
|
|
|
import {
|
|
|
|
|
dom, COLUMN, COLUMN_LITERAL, COMPARISON, ATTRIBUTES,
|
|
|
|
|
columnAscendingByDefault, columnIsSortable, COLUMN_TRANSFORMATION,
|
|
|
|
|
element, JOIN_URL_PASTE, communityQRCodeURL, STAFF_ID_PASTE, IDENTIFIER_PASTE
|
|
|
|
|
element, JOIN_URL_PASTE, communityQRCodeURL, STAFF_ID_PASTE, IDENTIFIER_PASTE, DETAILS_LINK_PASTE
|
|
|
|
|
} from './js/constants.js';
|
|
|
|
|
|
|
|
|
|
// Hidden communities for transparency.
|
|
|
|
@ -283,6 +283,13 @@ function addQRModalHandlers() {
|
|
|
|
|
}
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
document.querySelector('#details-modal-copy-room-details-link')?.addEventListener(
|
|
|
|
|
'click',
|
|
|
|
|
function() {
|
|
|
|
|
copyToClipboard(location.href, DETAILS_LINK_PASTE);
|
|
|
|
|
}
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
for (const anchor of dom.qr_code_buttons()) {
|
|
|
|
|
// Disable QR code links
|
|
|
|
|
anchor.setAttribute("href", "#");
|
|
|
|
|