mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-27 10:32:27 +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
|
||||
* 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;
|
||||
|
||||
direction = direction ? 1 : -1;
|
||||
|
||||
Reference in New Issue
Block a user