Skip to content

Commit

Permalink
feature 1668: nb_image_page or recent_period in database will automat…
Browse files Browse the repository at this point in the history
…ically take the nearest (bigger) value in the value list

git-svn-id: http://piwigo.org/svn/trunk@25492 68402e56-0260-453c-a942-63ccdbb3a9ee
  • Loading branch information
plegall committed Nov 15, 2013
1 parent 5f148e9 commit d27e783
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion admin/themes/default/template/user_list.tpl
Expand Up @@ -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;
}
}
Expand Down

0 comments on commit d27e783

Please sign in to comment.