mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-09 04:44:11 +01:00
Remove crufty param from buffer.scrollByScrollSize.
This commit is contained in:
@@ -911,10 +911,8 @@ var Buffer = Module("Buffer", {
|
|||||||
*
|
*
|
||||||
* @param {boolean} direction The direction to scroll. If true then
|
* @param {boolean} direction The direction to scroll. If true then
|
||||||
* scroll up and if false scroll down.
|
* scroll up and if false scroll down.
|
||||||
* @param {number} count The multiple of 'scroll' lines to scroll.
|
|
||||||
* @optional
|
|
||||||
*/
|
*/
|
||||||
scrollByScrollSize: function scrollByScrollSize(direction, count=1) {
|
scrollByScrollSize: function scrollByScrollSize(direction) {
|
||||||
let { options } = this.modules;
|
let { options } = this.modules;
|
||||||
|
|
||||||
direction = direction ? 1 : -1;
|
direction = direction ? 1 : -1;
|
||||||
|
|||||||
Reference in New Issue
Block a user