Keeping space from scrolling. This is a total and complete hack that wants a better fix later.

This commit is contained in:
hyatt%netscape.com 2000-02-01 00:38:51 +00:00
parent b450915b91
commit e0003e62a8

View File

@ -18,9 +18,17 @@
controller.doCommand('cmd_scrollPageDown');"/>
<key id="space" key=" " shift="false" control="false"
onkeypress="
var v = document.commandDispatcher.focusedElement;
if (v &amp;&amp; (v.tagName == 'INPUT' || v.tagName == 'TEXTAREA')) {
return true;
}
var controller =
document.commandDispatcher.getControllerForCommand('cmd_scrollPageDown');
controller.doCommand('cmd_scrollPageDown');"/>
controller.doCommand('cmd_scrollPageDown');
"/>
<key id="key_page_up" keycode="VK_UP" shift="false" control="false"
onkeypress="
var controller =