Changeset

5746:5f7f6ee32a11

mod_invites_page: Stop displaying the QRCode to mobile devices
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Thu, 16 Nov 2023 19:17:44 +0100
parents 5745:4acb48604490
children 5747:b117b63bcdbb
files mod_invites_page/static/invite.js
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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