Skip to content

Commit

Permalink
Issue #6 - Fix membership check in search limit formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
MJJoyce committed Apr 10, 2018
1 parent 1bbe05b commit 45d5a6b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bliss/gui/static/js/bliss/gui/Search.js
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ const MnemonicSearch = {
let l = []
if (limits.value) {
for (let k of ['warn', 'error']) {
if (! k in limits.value) {continue}
if (! (k in limits.value)) {continue}

l.push(m('div', [
m('b', `\u2003${k}:`),
Expand All @@ -203,7 +203,7 @@ const MnemonicSearch = {
}
} else {
for (let t of ['lower', 'upper']) {
if (! t in limits) {continue}
if (! (t in limits)) {continue}

l.push(m('div', [
m('b', `\u2003${t}:`),
Expand Down

0 comments on commit 45d5a6b

Please sign in to comment.