Skip to content

Commit

Permalink
auto indexation on host removal
Browse files Browse the repository at this point in the history
  • Loading branch information
makio135 authored and makio135 committed Feb 17, 2019
1 parent e4514b7 commit 2357483
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions desktop/src/config.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"width": 379,
"height": 364,
"width": 366,
"height": 330,
"ORCA_PORT": 49160,
"hosts": [
"127.0.0.1:8001",
"127.0.0.1:8002"
"127.0.0.1:12000"
],
"displayShortcuts": true
}
4 changes: 2 additions & 2 deletions desktop/src/scripts/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ function validateHost(el) {
document.querySelectorAll('ul#hosts li').forEach((li, i) => {
if(li.querySelector('p').dataset.action) {return}
li.querySelector('.index').innerText = i.toString(36).toUpperCase()
li.querySelector('.host').dataset.host = i
li.querySelector('.msg').dataset.host = i
li.querySelector('.host').dataset.index = i
li.querySelector('.msg').dataset.index = i
})

return
Expand Down

0 comments on commit 2357483

Please sign in to comment.