diff --git a/web/root/index.xjs b/web/root/index.xjs index b2a655ef6a17903522d30779685a1f9c911af226..9c6c78d99f4bf5ba8ae4718ff70c485b3bb36b99 100644 --- a/web/root/index.xjs +++ b/web/root/index.xjs @@ -242,11 +242,7 @@ return a + (i == 0 ? '?' : '&') + 'subscribe=' + c; }, '' ); const _es = new EventSource('/api/events.ssjs' + _evtqs); - _es.onopen = function () { - console.log('Connected to event source'); - } Object.keys(_sbbs_events).forEach(function (e) { - console.log('adding event listener ' + e); _es.addEventListener(e, _sbbs_events[e]); }); </script> diff --git a/web/sidebar/.examples/001-nodelist.xjs b/web/sidebar/.examples/001-nodelist.xjs index 12a47855609055b3e73aee0f73b829e108f51f43..b705c9bff084694d578ff38ab34c9e44ff3ff5ed 100644 --- a/web/sidebar/.examples/001-nodelist.xjs +++ b/web/sidebar/.examples/001-nodelist.xjs @@ -9,7 +9,6 @@ function _sb_list_node(e) { if (e.action === null || e.user === null) return; - console.log('NODE', e); $('#sbbs-nodelist-table').append( '<tr>' + '<th scope="row">' +