]> git.ktnx.net Git - lsl.git/commitdiff
list version is stored in data(), not attr()
authorDamyan Ivanov <dmn@debian.org>
Sun, 6 Mar 2022 08:23:26 +0000 (08:23 +0000)
committerDamyan Ivanov <dmn@debian.org>
Sun, 6 Mar 2022 08:23:26 +0000 (08:23 +0000)
public/javascripts/lsl.js

index 7ca9c80847484985eddfb16fb3628232c8d3ea23..260a282fc57e3802912a2970521388f6a67ee9fc 100644 (file)
@@ -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));
 }