mirror of
https://github.com/Sonarr/Sonarr.git
synced 2024-12-16 11:37:58 +02: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