From c2cbc7913c48eecf98ffec14f6038de06a744e02 Mon Sep 17 00:00:00 2001 From: Bryan Ashby Date: Mon, 25 Jul 2016 00:58:27 -0600 Subject: [PATCH] Use new menu stack code --- core/client.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/client.js b/core/client.js index ed7bbb3f..06ac705a 100644 --- a/core/client.js +++ b/core/client.js @@ -106,7 +106,7 @@ function Client(input, output) { Object.defineProperty(this, 'currentMenuModule', { get : function() { - return self.menuStack.getCurrentModule(); + return self.menuStack.currentModule; } }); @@ -423,7 +423,7 @@ Client.prototype.end = function () { this.term.disconnect(); } - var currentModule = this.menuStack.getCurrentModule(); + var currentModule = this.menuStack.getCurrentModule; if(currentModule) { currentModule.leave();