mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-21 16:17:57 +01:00
Minor fixup for 45b2508a55c9.
This commit is contained in:
@@ -1565,8 +1565,8 @@ var Buffer = Module("buffer", {
|
|||||||
mappings.add(myModes, ["%"],
|
mappings.add(myModes, ["%"],
|
||||||
"Scroll to {count} percent of the document",
|
"Scroll to {count} percent of the document",
|
||||||
function (args) {
|
function (args) {
|
||||||
dactyl.assert(args.count > 0 && count <= 100);
|
dactyl.assert(args.count > 0 && args.count <= 100);
|
||||||
buffer.scrollToPercent(null, count);
|
buffer.scrollToPercent(null, args.count);
|
||||||
},
|
},
|
||||||
{ count: true });
|
{ count: true });
|
||||||
|
|
||||||
@@ -1719,7 +1719,7 @@ var Buffer = Module("buffer", {
|
|||||||
|
|
||||||
mappings.add(myModes, ["zz"],
|
mappings.add(myModes, ["zz"],
|
||||||
"Set text zoom value of current web page",
|
"Set text zoom value of current web page",
|
||||||
function (args) { Buffer.setZoom(args.count > 1 ? count : 100, false); },
|
function (args) { Buffer.setZoom(args.count > 1 ? args.count : 100, false); },
|
||||||
{ count: true });
|
{ count: true });
|
||||||
|
|
||||||
mappings.add(myModes, ["ZI", "zI"],
|
mappings.add(myModes, ["ZI", "zI"],
|
||||||
|
|||||||
Reference in New Issue
Block a user