1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-11-04 10:02:40 +01:00

Fixed: piwik loading when accessing Sonarr via HTTPS

This commit is contained in:
Mark McDowall 2015-03-09 15:56:34 -07:00
parent bf5b645416
commit a45f822fdb

View File

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