Skip to content

Commit

Permalink
Rename scrollPageUp/Down to navigatePageUp/Down
Browse files Browse the repository at this point in the history
  • Loading branch information
Dave Benjamin committed Aug 12, 2013
1 parent 4e1f0e0 commit 7595380
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions slick.grid.js
Expand Up @@ -2169,10 +2169,10 @@ if (typeof Slick === "undefined") {
}
cancelEditAndSetFocus();
} else if (e.which == 34) {
scrollPageDown();
navigatePageDown();
handled = true;
} else if (e.which == 33) {
scrollPageUp();
navigatePageUp();
handled = true;
} else if (e.which == 37) {
handled = navigateLeft();
Expand Down Expand Up @@ -2739,11 +2739,11 @@ if (typeof Slick === "undefined") {
}
}

function scrollPageDown() {
function navigatePageDown() {
scrollPage(1);
}

function scrollPageUp() {
function navigatePageUp() {
scrollPage(-1);
}

Expand Down Expand Up @@ -3338,8 +3338,8 @@ if (typeof Slick === "undefined") {
"navigateDown": navigateDown,
"navigateLeft": navigateLeft,
"navigateRight": navigateRight,
"scrollPageUp": scrollPageUp,
"scrollPageDown": scrollPageDown,
"navigatePageUp": navigatePageUp,
"navigatePageDown": navigatePageDown,
"gotoCell": gotoCell,
"getTopPanel": getTopPanel,
"setTopPanelVisibility": setTopPanelVisibility,
Expand Down

0 comments on commit 7595380

Please sign in to comment.