From 72a610078ff4a47bbdaf4feaf4a218af6d28af07 Mon Sep 17 00:00:00 2001 From: spalger Date: Tue, 22 Sep 2015 18:47:01 -0700 Subject: [PATCH] [appSwitcher] compare to the href of the clicked element, not necessarily the apps url --- src/ui/public/chrome/appSwitcher/appSwitcher.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ui/public/chrome/appSwitcher/appSwitcher.js b/src/ui/public/chrome/appSwitcher/appSwitcher.js index c84573960a27..f70ea9f8d91b 100644 --- a/src/ui/public/chrome/appSwitcher/appSwitcher.js +++ b/src/ui/public/chrome/appSwitcher/appSwitcher.js @@ -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;