From b036f403bc45b9a64e6ab0c07ca40b9b259acb85 Mon Sep 17 00:00:00 2001 From: Jean-Roch Maitre Date: Thu, 18 Jun 2015 12:01:40 -0700 Subject: [PATCH] UI-1625: Updated code to use the new isActive flag --- submodules/myOffice/myOffice.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/submodules/myOffice/myOffice.js b/submodules/myOffice/myOffice.js index 7a259b9..02652dd 100644 --- a/submodules/myOffice/myOffice.js +++ b/submodules/myOffice/myOffice.js @@ -868,8 +868,7 @@ define(function(require){ myOfficeMyAccountClosed: function() { var self = this; - // ghetto way before we add the self.isVisible method - if($('#voip_container').length) { + if(self.isActive()) { // First we check if the user hasn't seen the walkthrough already // if he hasn't we show the walkthrough, and once they're done with it, we update their user doc so they won't see the walkthrough again self.myOfficeHasWalkthrough(function() {