mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-31 14:55:46 +01:00
Auto-hide the command-line by default; allow showing messages/mode/command-line in the status bar.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user