don't use double quotes in your JS examples, chartbeat, thx. [ci skip]
This commit is contained in:
parent
80f2638228
commit
ba9bbd8777
1 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue