Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

need to parseInt the textbox as well as the preference_panel

  • Loading branch information...
commit 8fcdcc8ba84c578492451654b5b5980b8a214aa2 1 parent 93e8387
Jordan Evans authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  railroad/static/js/functions.js
View
2  railroad/static/js/functions.js
@@ -397,7 +397,7 @@ function redrawOnClosePreference() {
/* Get petPage from local storage, with a default value. */
function getPerPage() {
- var perpage = $('#graphsPerPage').val();
+ var perpage = parseInt($('#graphsPerPage').val());
if (localStorageGet('preference_panel')) {
if (localStorageGet('preference_panel')['graphsPerPage']) {
perpage = localStorageGet('preference_panel')['graphsPerPage'];
Please sign in to comment.
Something went wrong with that request. Please try again.