Skip to content

Commit c3af771

Browse files
author
George
committed
adjust slider range
1 parent 2d51bc7 commit c3af771

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

static/js/image_search.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2850,7 +2850,7 @@ require([
28502850
//$(this).removeClass('isActive');
28512851
}
28522852
else if (isActive){
2853-
if (curmin === 'NA'){
2853+
if (curmin === 'NA') {
28542854
min = lower;
28552855
}
28562856
else {
@@ -2860,7 +2860,7 @@ require([
28602860
max = upper;
28612861
}
28622862
else {
2863-
max = Math.max(upper, Math.floor(curmax));
2863+
max = Math.max(upper, Math.ceil(curmax));
28642864
}
28652865

28662866
}

0 commit comments

Comments
 (0)