you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 2 points3 points ago


Er.. just looking at the page for 5 seconds, it looks like keypress.combo("space", function() { }, true) is how you prevent the page from scrolling.

Basically, event.preventDefault() as monkeymad2 said.