BigW Consortium Gitlab

Commit dce5e9ce by Alfredo Sumaran

Disable highlighting by default

parent 424927a7
......@@ -88,6 +88,7 @@ class GitLabDropdown
{
# If no input is passed create a default one
@filterInput = @$(FILTER_INPUT)
@highlight = false
} = @options
self = @
......@@ -252,7 +253,8 @@ class GitLabDropdown
if selected
cssClass = "is-active"
text = @highlightTextMatches(text, @filterInput.val())
if @highlight
text = @highlightTextMatches(text, @filterInput.val())
html = "<li>"
html += "<a href='#{url}' class='#{cssClass}'>"
......
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