mirror of https://github.com/lidarr/Lidarr
Fixed: piwik loading when accessing Sonarr via HTTPS
This commit is contained in:
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…
Reference in New Issue