diff --git a/app/helpers/analytics_helper.rb b/app/helpers/analytics_helper.rb index 7c0e7b7e9..7dee6013c 100644 --- a/app/helpers/analytics_helper.rb +++ b/app/helpers/analytics_helper.rb @@ -42,8 +42,8 @@ module AnalyticsHelper e.setAttribute('language', 'javascript'); e.setAttribute('type', 'text/javascript'); e.setAttribute('src', - (("https:" == document.location.protocol) ? "https://a248.e.akamai.net/chartbeat.download.akamai.com/102508/" : "http://static.chartbeat.com/") + - "js/chartbeat.js"); + (('https:' == document.location.protocol) ? 'https://a248.e.akamai.net/chartbeat.download.akamai.com/102508/' : 'http://static.chartbeat.com/') + + 'js/chartbeat.js'); document.body.appendChild(e); }; var oldonload = window.onload;