diff options
author | jan <jan@ruken.pw> | 2015-12-30 20:27:48 (UTC) |
---|---|---|
committer | jan <jan@ruken.pw> | 2015-12-30 20:27:48 (UTC) |
commit | c2503cab34c1abe3e0ab9de2ac2321a42db8989c (patch) | |
tree | c680751cf6e83918fbba4110584da4ae6b555311 /assets/js | |
parent | 5ffc0f41b9726d0ee97f0b6f7745ba4d2ab00017 (diff) |
jetzt sind bilder auch in firefox (hoffentlich) zentriert
Diffstat (limited to 'assets/js')
-rw-r--r-- | assets/js/search.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/assets/js/search.js b/assets/js/search.js index 5f81eb1..a376166 100644 --- a/assets/js/search.js +++ b/assets/js/search.js | |||
@@ -21,7 +21,7 @@ function doSearch() { | |||
21 | document.getElementById("search-results").innerHTML = ''; | 21 | document.getElementById("search-results").innerHTML = ''; |
22 | return | 22 | return |
23 | } | 23 | } |
24 | document.getElementById("search-results").innerHTML = xhr.response.replace(new RegExp(value, 'g'), "<b>" + value + "</b>"); | 24 | document.getElementById("search-results").innerHTML = xhr.response.replace(new RegExp(value, 'gi'), "<b>" + value + "</b>"); |
25 | } | 25 | } |
26 | } | 26 | } |
27 | xhr.open('GET', '/search/gril_instant/' + value, true); | 27 | xhr.open('GET', '/search/gril_instant/' + value, true); |