Removes console.warn message from do_external_connect.js if there is no error passed.

This commit is contained in:
hristoterezov 2016-03-30 13:32:17 -05:00
parent 4a1175d44f
commit 166a609b94
1 changed files with 2 additions and 1 deletions

View File

@ -42,7 +42,8 @@ function buildToken(){
}
function error_callback(error){
console.warn(error);
if(error) //error=undefined if external connect is disabled.
console.warn(error);
// Sets that global variable to be used later by connect method in
// connection.js
window.XMPPAttachInfo = {