Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
malakhovks committed Jun 23, 2019
2 parents 3187382 + 16e1acc commit ab42401
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion static/javascripts/ken-recap.js
Original file line number Diff line number Diff line change
Expand Up @@ -505,7 +505,8 @@ function forUploadResultListClickAndEnterPressEvents() {
// $textContent.highlightWithinTextarea(onInput);

function onInput(input) {
var regex = new RegExp('\\b(\\w*' + $uploadResultList.prop('value') + '\\w*)\\b', 'gi');
let term = $uploadResultList.prop('value').replace(/\s?([-])\s?/g,'-');
var regex = new RegExp('\\b(\\w*' + term + '\\w*)\\b', 'gi');
return regex;
}
$textContent.highlightWithinTextarea(onInput);
Expand Down
4 changes: 2 additions & 2 deletions static/stylesheets/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -265,8 +265,8 @@ select {
.middle,
.inner {
border: 3px solid transparent;
border-top-color: #8BC34A;
border-right-color: #8BC34A;
border-top-color: #546E7A;
border-right-color: #546E7A;
border-radius: 50%;
position: absolute;
top: 50%;
Expand Down

0 comments on commit ab42401

Please sign in to comment.