Commit f1b4254c authored by Ujvari Gergely's avatar Ujvari Gergely

VS fix

parent 8c255d41
......@@ -896,8 +896,9 @@ class Search
thread.message.highlightText = thread.message.text
if thread.message.id in $scope.search_filter
$scope.ann_info.shown[thread.message.id] = true
for regexp in $scope.text_regexp
thread.message.highlightText = thread.message.highlightText.replace regexp, $scope.highlighter
if thread.message.text?
for regexp in $scope.text_regexp
thread.message.highlightText = thread.message.highlightText.replace regexp, $scope.highlighter
else
$scope.ann_info.shown[thread.message.id] = false
......
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