diff options
| author | XhmikosR <[email protected]> | 2019-11-04 15:42:09 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2019-11-04 15:42:09 +0200 |
| commit | 258a56b473edea843eb20e80bbc7bf49eb040a32 (patch) | |
| tree | dc35ab8f1b960531083a2277526a04da51b3d37a | |
| parent | 972369c997e4113607aaa002edd532e3d256f316 (diff) | |
| download | bootstrap-258a56b473edea843eb20e80bbc7bf49eb040a32.tar.xz bootstrap-258a56b473edea843eb20e80bbc7bf49eb040a32.zip | |
site/assets/js/search.js: ignore the LGTM alert (#29634)
| -rw-r--r-- | site/assets/js/search.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/site/assets/js/search.js b/site/assets/js/search.js index fcff6f637..ab57ad2f0 100644 --- a/site/assets/js/search.js +++ b/site/assets/js/search.js @@ -40,7 +40,7 @@ // When in production, return the result as is, // otherwise remove our url from it. // eslint-disable-next-line no-negated-condition - hit.url = currentUrl.indexOf(liveUrl) !== -1 ? + hit.url = currentUrl.indexOf(liveUrl) !== -1 ? // lgtm [js/incomplete-url-substring-sanitization] hit.url : hit.url.replace(liveUrl, '') |
