feature 1668: nb_image_page or recent_period in database will automatically take the nearest (bigger) value in the value list
git-svn-id: http://piwigo.org/svn/trunk@25492 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
parent
5f148e96bc
commit
d27e783e5b
1 changed files with 1 additions and 1 deletions
|
|
@ -97,7 +97,7 @@ jQuery(document).ready(function() {
|
|||
*/
|
||||
function getSliderKeyFromValue(value, values) {
|
||||
for (var key in values) {
|
||||
if (values[key] == value) {
|
||||
if (values[key] >= value) {
|
||||
return key;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue