From: Damyan Ivanov Date: Sun, 6 Mar 2022 08:23:26 +0000 (+0000) Subject: list version is stored in data(), not attr() X-Git-Url: https://git.ktnx.net/?a=commitdiff_plain;h=c82a41b13e0dc704bd51b8a52d9caa4e49e903f6;p=lsl.git list version is stored in data(), not attr() --- 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)); }