From fd1c847e2c4f3cce8fd0827257d646245ec1286d Mon Sep 17 00:00:00 2001 From: Shivam Dave Date: Mon, 22 Jun 2015 15:06:12 -0700 Subject: [PATCH] [Windowing] Remove Varibale Removed the variable currentUrl because it was not needed. WTD-16. --- platform/commonUI/browse/src/windowing/NewWindowAction.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/platform/commonUI/browse/src/windowing/NewWindowAction.js b/platform/commonUI/browse/src/windowing/NewWindowAction.js index 581c0d0f74..68c88bdec6 100644 --- a/platform/commonUI/browse/src/windowing/NewWindowAction.js +++ b/platform/commonUI/browse/src/windowing/NewWindowAction.js @@ -44,8 +44,7 @@ define( perform: function () { // Places the current Url into a variable // Then the Url is opened using $window - var currentUrl = $window.location.href; - $window.open(currentUrl); + $window.open($window.location.href); } }; }