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:
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user