mod_invites_page: Stop displaying the QRCode to mobile devices
authorEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>
Thu, 16 Nov 2023 19:17:44 +0100
changeset 5727 5f7f6ee32a11
parent 5726 4acb48604490
child 5728 b117b63bcdbb
mod_invites_page: Stop displaying the QRCode to mobile devices
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