Commit 72b5fdd3 authored by escudie escudie's avatar escudie escudie
Browse files

Fix bug with hover when searchInput is null.

parent 50b1c293
...@@ -2578,7 +2578,7 @@ ...@@ -2578,7 +2578,7 @@
if($(this).children("span").text() === 'on') { activeleg = true; } if($(this).children("span").text() === 'on') { activeleg = true; }
}); });
var activesearch = false; var activesearch = false;
if(opts.searchInput.val() != '') { activesearch= true; } if(opts.searchInput != null && opts.searchInput.val() != '') { activesearch= true; }
if(!activeleg && !activesearch && $(this).text() !== "") { if(!activeleg && !activesearch && $(this).text() !== "") {
var labels = this.listnames; var labels = this.listnames;
$("*[id^=label]").each(function(){ $("*[id^=label]").each(function(){
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment