From e695c36e5f1d8d1313ac9bc388c1c3320f40f243 Mon Sep 17 00:00:00 2001 From: Terry Geng Date: Sat, 28 Mar 2020 12:01:06 +0800 Subject: [PATCH] fix: wrong length --- templates/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/index.html b/templates/index.html index 33e4e1e..955e5db 100644 --- a/templates/index.html +++ b/templates/index.html @@ -553,7 +553,7 @@ var length = data.length; var start_from = data.start_from; playlist_range_from = start_from; - playlist_range_to = start_from + length - 1; + playlist_range_to = start_from + items.length - 1; if(items.length < length && start_from > 0) { _from = start_from - 5;