From 215a13872ad2a9acf2fe84d2d8a22f976bfeceb6 Mon Sep 17 00:00:00 2001 From: coderaiser Date: Mon, 7 Jul 2014 08:55:33 -0400 Subject: [PATCH] fix(dom) getCurrentPath fs: rmStr -> rmStrOnce --- lib/client/dom.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/client/dom.js b/lib/client/dom.js index d2a792d7..f3caf0a9 100644 --- a/lib/client/dom.js +++ b/lib/client/dom.js @@ -1113,7 +1113,7 @@ var CloudCmd, Util, DOM, CloudFunc, Dialog; element = DOM.getByTag('a', current)[0], path = element.getAttribute('href'); - path = Util.rmStr(path, CloudFunc.FS); + path = Util.rmStrOnce(path, CloudFunc.FS); return path; };