mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-06 21:21:15 -07:00
Fix getting pms_url when multiple connections published
* Fixes bug grabbing the wrong pms_url when multiple local/remote connections are published to plex.tv * This tries to find the connection with the matching address first, otherwise grabs the first valid local/remote connection (prior behaviour)
This commit is contained in:
parent
6a72923182
commit
2f5f0ba1e1
2 changed files with 23 additions and 23 deletions
|
@ -39,7 +39,6 @@ function showMsg(msg,loader,timeout,ms,error) {
|
|||
}
|
||||
if (error) {
|
||||
feedback.css("background-color", "rgba(255,0,0,0.5)");
|
||||
console.log('is error');
|
||||
}
|
||||
$(feedback).html(message);
|
||||
feedback.fadeIn();
|
||||
|
@ -48,7 +47,8 @@ function showMsg(msg,loader,timeout,ms,error) {
|
|||
setTimeout(function(){
|
||||
message.fadeOut(function(){
|
||||
$(this).remove();
|
||||
feedback.fadeOut();
|
||||
feedback.fadeOut();
|
||||
feedback.css("background-color", "");
|
||||
});
|
||||
},ms);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue