We are currently migrating all git repositories to new storage. In the unlikely event that you attempt to write to your git repo at the exact time it is being moved, you will receive a message about your repository being write protected.

Commit 3da003ee authored by Henrik.Askjer's avatar Henrik.Askjer
Browse files

Merge branch 'prod' of git.app.uib.no:spraksamlingane/beta.ordbok.uib.no into dev

parents 767c6704 3d644f3d
......@@ -88,7 +88,7 @@
var search = 0
if (this.items[0]) {
if (this.items[0].time < time) {
if (/_|\*|\|/.test(q)) {
if (/[_*%|]/.test(q)) {
search = 2
// Whitespace necessary in case option already exists in dropdown
......@@ -105,7 +105,7 @@
let suggestions = response.data.a.w.map(item => ({q: q, match: item[0], label: item[0], time: time, lang: item[1]}))
if (/_|\*|\|/.test(q)) {
if (/[_*%|]/.test(q)) {
suggestions.unshift({q: q, label: q, time: time, search: 2})
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