KEYCLOAK-2446
Cordova not working
This commit is contained in:
parent
ca38602cfe
commit
040b32ead7
1 changed files with 7 additions and 2 deletions
|
@ -885,7 +885,10 @@
|
|||
});
|
||||
|
||||
ref.addEventListener('loaderror', function(event) {
|
||||
if (event.url.indexOf('http://localhost') != 0) {
|
||||
if (event.url.indexOf('http://localhost') == 0) {
|
||||
callback = parseCallback(event.url);
|
||||
ref.close();
|
||||
} else {
|
||||
error = true;
|
||||
ref.close();
|
||||
}
|
||||
|
@ -917,7 +920,9 @@
|
|||
});
|
||||
|
||||
ref.addEventListener('loaderror', function(event) {
|
||||
if (event.url.indexOf('http://localhost') != 0) {
|
||||
if (event.url.indexOf('http://localhost') == 0) {
|
||||
ref.close();
|
||||
} else {
|
||||
error = true;
|
||||
ref.close();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue