From 7a3fd402bd7e670e20ab349676eca80e0aca9f9b Mon Sep 17 00:00:00 2001 From: coderaiser Date: Wed, 15 Aug 2012 10:53:26 +0300 Subject: [PATCH] Update client.js --- client.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/client.js b/client.js index d83552ba..b94e6f50 100644 --- a/client.js +++ b/client.js @@ -998,10 +998,8 @@ CloudClient._changeLinks = function(pPanelID){ lLi.onclick = CloudClient._setCurrent(); lLi.oncontextmenu = function(pEvent){ - if(typeof CloudCommander.Menu === 'function'){ + if(typeof CloudCommander.Menu === 'function') CloudCommander.Menu({pEvent.x, pEvent.y}); - }else - CloudCommander.Menu.show(); } /* если ссылка на папку, а не файл */