Refactor open Plex XML script

This commit is contained in:
JonnyWong16 2018-06-02 08:53:53 -07:00
commit 54f4696713
4 changed files with 11 additions and 10 deletions

View file

@ -694,9 +694,7 @@
});
$('#sessions-xml').on('tripleclick', function () {
$.getJSON('return_plex_xml_url', {endpoint: '/status/sessions'}, function(xml_url) {
window.open(xml_url, '_blank');
});
openPlexXML('/status/sessions');
});
% endif
</script>