diff --git a/prefs.js b/prefs.js index 6aae959e6..83a55d0d5 100644 --- a/prefs.js +++ b/prefs.js @@ -79,7 +79,7 @@ function labellist_callback() { if (xmlhttp.readyState == 4) { container.innerHTML=xmlhttp.responseText; - if (active_filter) { + if (active_label) { var row = document.getElementById("LILRR-" + active_label); if (row) { if (!row.className.match("Selected")) {