mirror of
https://github.com/Radarr/Radarr.git
synced 2024-11-05 02:22:31 +01:00
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
Block a user