diff --git a/assets/js/sections/bandmap_list.js b/assets/js/sections/bandmap_list.js index 59cd2422f..4e7f10df2 100644 --- a/assets/js/sections/bandmap_list.js +++ b/assets/js/sections/bandmap_list.js @@ -1007,7 +1007,7 @@ $(function() { lclass = 'lotw_info_yellow'; } let lotw_title = lang_bandmap_lotw_last_upload.replace('%d', single.dxcc_spotted.lotw_user); - lotw_badge = '' + buildBadge('success ' + lclass, 'fa-upload', lotw_title) + ''; + lotw_badge = '' + buildBadge('success ' + lclass, null, lotw_title, 'L', false, "Helvetica") + ''; } // Build activity badges (POTA, SOTA, WWFF, IOTA, Contest, Worked) @@ -1796,10 +1796,11 @@ $(function() { // title: tooltip text // text: optional text content instead of icon // isLast: if true, uses margin: 0 instead of negative margin - function buildBadge(type, icon, title, text = null, isLast = false) { + function buildBadge(type, icon, title, text = null, isLast = false, fontFamily = null) { const margin = isLast ? '0' : '0 2px 0 0'; const fontSize = text ? '0.75rem' : '0.7rem'; - const content = text ? text : ''; + const fontFamilyStyle = fontFamily ? 'font-family: ' + fontFamily + ';' : ''; + const content = text ? '' + text + '' : ''; return '' + content + ''; }