]> git.ktnx.net Git - lsl.git/commitdiff
bugfix: list edit icon disappearing after lists reload
authorDamyan Ivanov <dmn@debian.org>
Fri, 4 Mar 2022 21:12:59 +0000 (21:12 +0000)
committerDamyan Ivanov <dmn@debian.org>
Fri, 4 Mar 2022 21:12:59 +0000 (21:12 +0000)
public/javascripts/lsl.js

index 1c1febb5c7b35266401dc2b4f76773a261ecd805..46eebf710524ffd374e0c4b48f91855c0577b516 100644 (file)
@@ -187,8 +187,8 @@ function load_lists() {
             if (existing.length) {
                 existing.data('lsl-version', list.version)
                 .data('lsl-name', list.name)
-                .text(list.name)
                 .removeClass('old');
+                existing.find('span.list-name').text(list.name);
             }
             else {
                 var list_item = $('<li>')