mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-07 13:41:15 -07:00
Remove ipaddr js XHR
This commit is contained in:
parent
533b8076e4
commit
11299291b0
2 changed files with 23 additions and 24 deletions
|
@ -291,6 +291,7 @@ ${next.modalIncludes()}
|
|||
<script src="${http_root}js/bootstrap-hover-dropdown.min.js"></script>
|
||||
<script src="${http_root}js/pnotify.custom.min.js"></script>
|
||||
<script src="${http_root}js/platform.min.js"></script>
|
||||
<script src="${http_root}js/ipaddr.min.js"></script>
|
||||
<script src="${http_root}js/script.js${cache_param}"></script>
|
||||
<script src="${http_root}js/jquery.tripleclick.min.js"></script>
|
||||
% if _session['user_group'] == 'admin' and BROWSER_NOTIFIERS:
|
||||
|
|
|
@ -258,7 +258,6 @@ $.cachedScript = function (url) {
|
|||
function isPrivateIP(ip_address) {
|
||||
var defer = $.Deferred();
|
||||
|
||||
$.cachedScript('js/ipaddr.min.js').done(function () {
|
||||
if (ipaddr.isValid(ip_address)) {
|
||||
var addr = ipaddr.process(ip_address);
|
||||
|
||||
|
@ -284,7 +283,6 @@ function isPrivateIP(ip_address) {
|
|||
} else {
|
||||
defer.resolve('n/a');
|
||||
}
|
||||
});
|
||||
|
||||
return defer.promise();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue