From a0726fa984f09823214de6819db2ecff0db621f3 Mon Sep 17 00:00:00 2001 From: coderaiser Date: Sun, 19 Aug 2012 04:06:14 -0400 Subject: [PATCH] changed the way of function calls, now bind using --- lib/client/editor.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/client/editor.js b/lib/client/editor.js index 7da2193f..f62869e5 100644 --- a/lib/client/editor.js +++ b/lib/client/editor.js @@ -191,7 +191,7 @@ CloudCommander.Editor.Keys = (function(pIsReadOnly){ /* if f4 or f3 pressed */ var lF3 = CloudCommander.KEY.F3; var lF4 = CloudCommander.KEY.F4; - var lShow = CloudCommander.Editor.CodeMirror.show; + var lShow = lThis.show.bind(lThis); if(!pEvent.shiftKey){ if(pEvent.keyCode === lF4)