From c82a41b13e0dc704bd51b8a52d9caa4e49e903f6 Mon Sep 17 00:00:00 2001 From: Damyan Ivanov Date: Sun, 6 Mar 2022 08:23:26 +0000 Subject: [PATCH] list version is stored in data(), not attr() --- public/javascripts/lsl.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/javascripts/lsl.js b/public/javascripts/lsl.js index 7ca9c80..260a282 100644 --- a/public/javascripts/lsl.js +++ b/public/javascripts/lsl.js @@ -34,7 +34,7 @@ function got_lists_version(new_version) { window.setTimeout(load_lists); } function got_list_version(new_version) { - if (new_version != selected_list.attr('lsl-version')) + if (new_version != selected_list.data('lsl-version')) window.setTimeout( () => load_list_items(selected_list.data('lsl-uri'), selected_list)); } -- 2.39.5