comparison mod_invites_page/html/invite.html @ 4172:740ca44eba06

mod_invites_page: Always display web clients regardless of detected platform
author Matthew Wild <mwild1@gmail.com>
date Tue, 06 Oct 2020 16:04:31 +0100
parents 82713dfee238
children a0937b5cfdcb
comparison
equal deleted inserted replaced
4171:85fa8c9e992a 4172:740ca44eba06
158 // No clients recognised for this platform, do nothing 158 // No clients recognised for this platform, do nothing
159 return; 159 return;
160 } 160 }
161 // Hide clients not for this platform 161 // Hide clients not for this platform
162 $('.client-card.app-platform-'+platform_classname).addClass("supported-platform"); 162 $('.client-card.app-platform-'+platform_classname).addClass("supported-platform");
163 $('.client-card').not(".supported-platform").hide(); 163 $('.client-card').not(".supported-platform, .app-platform-web").hide();
164 $('.client-card .client-platform-badge') 164 $('.client-card .client-platform-badge')
165 .not(".client-platform-badge-"+platform_classname) 165 .not(".client-platform-badge-"+platform_classname)
166 .addClass("badge-secondary") 166 .addClass("badge-secondary")
167 .removeClass("badge-info"); 167 .removeClass("badge-info");
168 $('.client-card .client-platform-badge-'+platform_classname) 168 $('.client-card .client-platform-badge-'+platform_classname)