don't use double quotes in your JS examples, chartbeat, thx. [ci skip]

This commit is contained in:
danielgrippi 2012-05-03 15:16:33 -07:00
parent 80f2638228
commit ba9bbd8777

View file

@ -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;