From c4b279c9be65f906076cafd5f0dd3682a440cc90 Mon Sep 17 00:00:00 2001 From: coderaiser Date: Mon, 31 Jul 2017 14:39:38 +0300 Subject: [PATCH] refactor(dom) updateCurrentInfo: current --- client/dom/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/dom/index.js b/client/dom/index.js index 391f0798..2a935aee 100644 --- a/client/dom/index.js +++ b/client/dom/index.js @@ -483,7 +483,7 @@ function CmdProto() { /* scrolling to current file */ DOM.scrollIntoViewIfNeeded(currentFile, CENTER); - Cmd.updateCurrentInfo(); + Cmd.updateCurrentInfo(currentFile); return DOM; }; @@ -1031,7 +1031,7 @@ function CmdProto() { return; DOM.setCurrentName(to, current); - Cmd.updateCurrentInfo(); + Cmd.updateCurrentInfo(current); Storage.remove(dirPath); if (isExist)