1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-05-02 17:20:52 +02:00

Auto-hide the command-line by default; allow showing messages/mode/command-line in the status bar.

This commit is contained in:
Kris Maglione
2010-09-27 07:39:49 -04:00
parent c8faebba0a
commit bed08a3455
14 changed files with 377 additions and 191 deletions
+1 -1
View File
@@ -381,7 +381,7 @@ const Editor = Module("editor", {
*/
expandAbbreviation: function (mode) {
let textbox = Editor.getEditor();
if (!textbox)
if (!(textbox && textbox.value))
return false;
let text = textbox.value;
let currStart = textbox.selectionStart;