Skip to content

Commit

Permalink
Crtl-L works again
Browse files Browse the repository at this point in the history
  • Loading branch information
fjakobs authored and giannis committed Oct 24, 2011
1 parent 7c91d9d commit 020b99b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion client/ext/gotoline/gotoline.js
Expand Up @@ -43,6 +43,7 @@ module.exports = ext.register("ext/gotoline/gotoline", {

this.hotitems["gotoline"] = [this.nodes[1]];

canon.removeCommand("gotoline");
canon.addCommand({
name: "gotoline",
exec: function(env, args, request) {
Expand All @@ -65,7 +66,7 @@ module.exports = ext.register("ext/gotoline/gotoline", {
txtLineNr.setValue(this.selected.getAttribute("nr"));
});

var restricted = [38, 40, 36, 35]
var restricted = [38, 40, 36, 35];
lstLineNumber.addEventListener("keydown", function(e) {
if (e.keyCode == 13 && this.selected){
return false;
Expand Down

0 comments on commit 020b99b

Please sign in to comment.