commit | 78655d1182c96e11983b6060b42872c878091733 | [log] [tgz] |
---|---|---|
author | Akron <nils@diewald-online.de> | Wed Jun 28 18:56:57 2017 +0200 |
committer | Akron <nils@diewald-online.de> | Wed Jun 28 18:56:57 2017 +0200 |
tree | 6e1c159c04d33939d97a878c422f0cf79171c70a | |
parent | e8ea0001705ec553499973b269c7d94d44a27458 [diff] |
Fixed query creator behaviour for empty cells Change-Id: Ibed9495278f29f7aab8fd31c1ffe0b2c3a71ecb2
diff --git a/dev/js/src/match/querycreator.js b/dev/js/src/match/querycreator.js index d9c41de..caae6a3 100644 --- a/dev/js/src/match/querycreator.js +++ b/dev/js/src/match/querycreator.js
@@ -65,6 +65,9 @@ if (target.tagName == 'TD') { + if (target.innerText == '') + return; + // Check foundry and layer var head = target.parentNode.getElementsByTagName('th'); var foundry = head[0].innerText;
diff --git a/dev/scss/main/matchinfo.scss b/dev/scss/main/matchinfo.scss index 801503f..09bc90b 100644 --- a/dev/scss/main/matchinfo.scss +++ b/dev/scss/main/matchinfo.scss
@@ -134,6 +134,9 @@ thead th:not(:nth-child(1)):not(:nth-child(2)) { cursor: pointer; } + td:empty { + cursor: default; + } tr { outline: none; > td.chosen,