mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-19 14:25:27 +00:00
HTML: Fix the viewed search results when change the number of viewed dives.
When a search results are shown and the number of showed dives is changed, all the dives are shown. We Just need to preview the first number to show dives from the search results instead of all the dives. Signed-off-by: Gehad elrobey <gehadelrobey@gmail.com> Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
0122b1a6d7
commit
47bdcbe261
1 changed files with 1 additions and 1 deletions
|
@ -160,7 +160,7 @@ function setNumberOfDives(e)
|
|||
var value = e.options[e.selectedIndex].value;
|
||||
sizeofpage = parseInt(value, 10);
|
||||
var end = start + sizeofpage - 1;
|
||||
view_in_range(start, end);
|
||||
viewInPage();
|
||||
}
|
||||
|
||||
function toggleExpantion(ul)
|
||||
|
|
Loading…
Add table
Reference in a new issue