changed the way of function calls, now bind using

This commit is contained in:
coderaiser 2012-08-19 04:06:14 -04:00
parent b3d55fdec3
commit a0726fa984

View file

@ -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)