Blog

Therma Bright (TSXV:THRM) partners with Afero to enhance AcuVid(TM) COVID-19 Rapid Antigen Saliva Test



Therma Bright (TSXV:THRM) partners with Afero to enhance AcuVid(TM) COVID-19 Rapid Antigen Saliva Test – The Market Herald 0 ) { $(‘#tsx-header’).remove(); } }, 5000) ]]> 0 ) { powerkitButtonsIds.push( $( this ).attr( ‘data-id’ ) ); } }); // Generate accounts data. var powerkitButtonsData = {}; if( powerkitButtonsIds.length > 0 ) { powerkitButtonsData = { ‘ids’ : powerkitButtonsIds.join(), ‘post_id’ : powerkitButtonsBox.attr( ‘data-post-id’ ), ‘url’ : powerkitButtonsBox.attr( ‘data-share-url’ ), }; } // Get results by REST API. $.ajax({ type: ‘GET’, url: ‘https://themarketherald.ca/wp-json/social-share/v1/get-shares’, data: powerkitButtonsData, beforeSend: function(){ // Add Loading Class. powerkitButtonsBox.addClass( ‘pk-share-buttons-loading’ ); }, success: function( response ) { if ( ! $.isEmptyObject( response ) && ! response.hasOwnProperty( ‘code’ ) ) { // Accounts loop. $.each( response, function( index, data ) { if ( index !== ‘total_count’ ) { // Find Bsa Item. var powerkitButtonsItem = powerkitButtonsBox.find( ‘.pk-share-buttons-item[data-id=”‘ + index + ‘”]’); // Set Count. if ( data.hasOwnProperty( ‘count’ ) && data.count ) { powerkitButtonsItem.removeClass( ‘pk-share-buttons-no-count’ ).addClass( ‘pk-share-buttons-item-count’ ); powerkitButtonsItem.find( ‘.pk-share-buttons-count’ ).html( data.count ); } else { powerkitButtonsItem.addClass( ‘pk-share-buttons-no-count’ ); } } }); if ( powerkitButtonsBox.hasClass( ‘pk-share-buttons-has-total-counts’ ) && response.hasOwnProperty( ‘total_count’ ) ) { var powerkitButtonsTotalBox = powerkitButtonsBox.find( ‘.pk-share-buttons-total’ ); if ( response.total_count ) { powerkitButtonsTotalBox.find( ‘.pk-share-buttons-count’ ).html( response.total_count ); powerkitButtonsTotalBox.show().removeClass( ‘pk-share-buttons-total-no-count’ ); } } } // Remove Loading Class. powerkitButtonsBox.removeClass( ‘pk-share-buttons-loading’ ); }, error: function() { // Remove Loading Class. powerkitButtonsBox.removeClass( ‘pk-share-buttons-loading’ ); } }); }); }); })(jQuery); ]]> X

Subscribe for free

Source

Leave a Reply