Another fix to nano (by tragic0mic)

This commit is contained in:
BlackLight 2011-02-10 23:00:42 +01:00
parent 1f75240b42
commit aeecc9c6db
1 changed files with 8 additions and 1 deletions

View File

@ -423,7 +423,7 @@
shell.file_changed = false;
},
"editorpaste" : function ( )
"editorpaste" : function ()
{
if(shell.perms)
{
@ -442,6 +442,13 @@
shell.editor_status.innerHTML += ' [read-only] [modified]';
}
}
if (shell.firstKey==-1)
{
shell.hitCount++;
shell.firstKey=0;
}
return;
},