How to submit a support ticket through Facebook

Follow
$(function() { gtag('event', 'article-view', { 'event_label': 'How to submit a support ticket through Facebook' }); if((HelpCenter.user.role == 'anonymous') || (HelpCenter.user.role == 'end_user')) { var feedback_string = $('.article-vote-label').text(); var number_end = feedback_string.indexOf(' '); var remainder_start = feedback_string.indexOf('found'); var helpful = feedback_string.substring(0, number_end); if((number_end !== -1) && (remainder_start !== -1) && (helpful !== '0')) { var to_remove = feedback_string.substring(number_end, remainder_start); feedback_string = feedback_string.replace(to_remove, ' '); $('.article-vote-label').text(feedback_string); } else { $('.article-vote-label').hide(); } } });