git ssb

0+

ev / microbay



forked from Dominic / patchbay

Commit 0d9b44b8f8b24b2c8bce341d3b10f76dbd2cb75b

simplify connection status classes

Dominic Tarr committed on 7/22/2016, 9:13:36 AM
Parent: 03187b9dad071577947968b89b9c6aef6d6c4d41

Files changed

modules/app.jschanged
modules/app.jsView
@@ -5,17 +5,10 @@
55
66 var status = h('div.status')
77
88 exports.connection_status = function (err) {
9- console.log('STATUS', err)
10- if(err) {
11- status.classList.remove('ready')
12- status.classList.add('error')
13- }
14- else {
15- status.classList.remove('error')
16- status.classList.add('ready')
17- }
9+ if(err) status.classList.add('error')
10+ else status.classList.remove('error')
1811 }
1912
2013 exports.app = function () {
2114 function hash() {
@@ -43,4 +36,12 @@
4336
4437
4538
4639
40+
41+
42+
43+
44+
45+
46+
47+

Built with git-ssb-web