Skip to content

Commit

Permalink
fix scrolling the page in bookmark on Wikipedia
Browse files Browse the repository at this point in the history
  • Loading branch information
jcubic committed Jan 30, 2024
1 parent 7455eef commit 426ce53
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/js/terminal.js
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,11 @@ var terminal = (function($) {
enabled: false,
greetings: false,
keymap: {
SPACE: function(e, original) {
e.preventDefault();
e.stopPropagation();
original();
},
ENTER: function(e, original) {
var command = this.get_command();
try {
Expand Down

0 comments on commit 426ce53

Please sign in to comment.