# HG changeset patch # User Emmanuel Gil Peyrot # Date 1700158664 -3600 # Node ID 5f7f6ee32a118fbd77529eabde439c72c326a2ac # Parent 4acb48604490bae15f3a62aac982ea887f771edc mod_invites_page: Stop displaying the QRCode to mobile devices diff -r 4acb48604490 -r 5f7f6ee32a11 mod_invites_page/static/invite.js --- a/mod_invites_page/static/invite.js Thu Nov 16 18:06:40 2023 +0100 +++ b/mod_invites_page/static/invite.js Thu Nov 16 19:17:44 2023 +0100 @@ -2,7 +2,7 @@ // If QR lib loaded ok, show QR button on desktop devices if(window.QRCode) { new QRCode(document.getElementById("qr-invite-page"), document.location.href); - document.getElementById('qr-button-container').classList.remove("d-none"); + document.getElementById('qr-button-container').classList.add("d-md-block"); } // Detect current platform and show/hide appropriate clients