Fixed: piwik loading when accessing Sonarr via HTTPS

pull/4/head
Mark McDowall 10 years ago
parent bf5b645416
commit a45f822fdb

@ -0,0 +1,12 @@
'use strict';
if(window.NzbDrone.Analytics) {
var d = document;
var g = d.createElement('script');
var s = d.getElementsByTagName('script')[0];
g.type = 'text/javascript';
g.async = true;
g.defer = true;
g.src = '//piwik.sonarr.tv/piwik.js';
s.parentNode.insertBefore(g, s);
}
Loading…
Cancel
Save