1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-20 16:47:58 +01:00

Fix "G" scroll command.

Broken by 769dad6834.
This commit is contained in:
Doug Kearns
2009-11-14 22:35:54 +11:00
parent 6cc43ad29a
commit 90410f2bf6

View File

@@ -1401,7 +1401,7 @@ const Buffer = Module("buffer", {
mappings.add(myModes, ["G", "<End>"], mappings.add(myModes, ["G", "<End>"],
"Go to the end of the document", "Go to the end of the document",
function (count) { buffer.scrollToPercent(buffer.scrollXPercent, count >= 0 ? count : 100); }, function (count) { buffer.scrollToPercent(buffer.scrollXPercent, count != null ? count : 100); },
{ count: true }); { count: true });
mappings.add(myModes, ["%"], mappings.add(myModes, ["%"],