mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-07-05 17:32:25 +02:00
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:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user