cleanups
This commit is contained in:
parent
c93d1e209a
commit
3b01eb9bac
2 changed files with 2 additions and 4 deletions
|
|
@ -63,7 +63,7 @@ exports.commands = [{
|
|||
name: "gotoline",
|
||||
bindKey: bindKey("Ctrl-L", "Command-L"),
|
||||
exec: function(editor) {
|
||||
var line = parseInt(prompt("Enter line number:"));
|
||||
var line = parseInt(prompt("Enter line number:"), 10);
|
||||
if (!isNaN(line)) {
|
||||
editor.gotoLine(line);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue