[appSwitcher] compare to the href of the clicked element, not necessarily the apps url
This commit is contained in:
parent
a3fdda4b74
commit
72a610078f
|
@ -29,7 +29,7 @@ require('ui/modules')
|
|||
return;
|
||||
}
|
||||
|
||||
var toParsed = parse(app.url);
|
||||
var toParsed = parse(event.delegateTarget.href);
|
||||
var fromParsed = parse(domLocation.href);
|
||||
var sameProto = toParsed.protocol === fromParsed.protocol;
|
||||
var sameHost = toParsed.host === fromParsed.host;
|
||||
|
|
Loading…
Reference in a new issue