From b199b2fb988a65d500637af4666029151b8dae7e Mon Sep 17 00:00:00 2001 From: coderaiser Date: Wed, 27 May 2015 02:31:41 -0400 Subject: [PATCH] fix(show) position -> pos --- lib/client/menu.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/client/menu.js b/lib/client/menu.js index e1ac2fe0..1a86ce2e 100644 --- a/lib/client/menu.js +++ b/lib/client/menu.js @@ -56,17 +56,17 @@ var CloudCmd, Util, DOM, CloudFunc, MenuIO; }; function show(x, y) { - var position; + var pos; if (!x || !y) { if (position) { x = position.x; y = position.y; } else { - position = getCurrentPosition(); + pos = getCurrentPosition(); - x = position.x; - y = position.y; + x = pos.x; + y = pos.y; } }