Skip to content

Commit

Permalink
naming convention in span id, see #201
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasPause committed Apr 23, 2019
1 parent 8b74fdc commit 0a1a283
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/browser/menu.js
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ function addOptions()
`<span class="dropdown-entry"><input type="checkbox" id="separate-subs-checkbox" autocomplete="off"/><span id="separate-subs">separate subontologies</span></span>
<span class="dropdown-entry"> <input type="checkbox" id="cumulative-search-checkbox" autocomplete="off"/><span id="cumulative-search">cumulative search</span></span>
<span class="dropdown-entry"><input type="checkbox" id="day-mode-checkbox" autocomplete="on"/><span id="day-mode">day mode</span></span>
<span class="dropdown-entry"><input type="checkbox" id="user-type-checkbox" autocomplete="on"/><span id="developer version">developer version</span></span>
<span class="dropdown-entry"><input type="checkbox" id="user-type-checkbox" autocomplete="on"/><span id="developer version">dev mode</span></span>
<span class="dropdown-entry"><input type="checkbox" id="combine-match-checkbox" autocomplete="off"/><span id="combine-match">combine matches</span></span>`;
const dayMode = util.getElementById("day-mode-checkbox");
dayMode.addEventListener("change",()=>{graph.invert(dayMode.checked);log.trace("Set dayMode to "+dayMode.checked);});
Expand Down

0 comments on commit 0a1a283

Please sign in to comment.