From a629e1ecb79f1cdfe8d21ff976869869800b208c Mon Sep 17 00:00:00 2001 From: Manvil George Date: Thu, 7 May 2020 11:46:49 +1000 Subject: [PATCH] Remove incorrect commenting --- .../darkswarm/services/enterprise_list_modal.js.coffee | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/assets/javascripts/darkswarm/services/enterprise_list_modal.js.coffee b/app/assets/javascripts/darkswarm/services/enterprise_list_modal.js.coffee index 6aa38c19e0..676ea38c02 100644 --- a/app/assets/javascripts/darkswarm/services/enterprise_list_modal.js.coffee +++ b/app/assets/javascripts/darkswarm/services/enterprise_list_modal.js.coffee @@ -1,8 +1,7 @@ Darkswarm.factory "EnterpriseListModal", ($modal, $rootScope, $http, EnterpriseModal)-> - # Build a modal popup for an enterprise. new class EnterpriseListModal open: (enterprises)-> - scope = $rootScope.$new(true) # Spawn an isolate to contain the enterprise + scope = $rootScope.$new(true) scope.embedded_layout = window.location.search.indexOf("embedded_shopfront=true") != -1 scope.enterprises = enterprises scope.openModal = EnterpriseModal.open