1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-22 08:07:59 +01:00

only allow g and G mapping in the MOW if scrollable

This commit is contained in:
Martin Stubenschrott
2007-09-14 03:59:26 +00:00
parent f5592d9b76
commit c31b0e782b

View File

@@ -646,10 +646,16 @@ function CommandLine() //{{{
pass(event);
break;
case "g":
if (canScroll() >= 1)
multiline_output_widget.contentWindow.scrollTo(0, 0);
else
pass(event);
break;
case "G":
if (canScroll() >= 1)
multiline_output_widget.contentWindow.scrollTo(0, multiline_output_widget.contentWindow.scrollMaxY);
else
pass(event);
break;
default: