mirror of
https://github.com/seigler/dash-visualizer
synced 2025-07-27 01:36:10 +00:00
publish: Add ability to link to specific blocks as static paintings
generated from commit 6bfef497a0
This commit is contained in:
parent
8fb32c1ba4
commit
c107040e1d
2 changed files with 5 additions and 7 deletions
10
bundle.js
10
bundle.js
|
@ -18888,7 +18888,7 @@ function () {
|
|||
block = new URL(window.location).searchParams.get('block');
|
||||
|
||||
if (!(block != null)) {
|
||||
_context.next = 23;
|
||||
_context.next = 24;
|
||||
break;
|
||||
}
|
||||
|
||||
|
@ -18936,10 +18936,11 @@ function () {
|
|||
break;
|
||||
|
||||
case 21:
|
||||
_context.next = 25;
|
||||
this.connectionStatus.className = 'is-loaded';
|
||||
_context.next = 26;
|
||||
break;
|
||||
|
||||
case 23:
|
||||
case 24:
|
||||
// live display
|
||||
this.socket = _socket["default"].connect("https://insight.dash.org:443/");
|
||||
fetch('https://insight.dash.org/api/status?q=getLastBlockHash').then(function (resp) {
|
||||
|
@ -18966,9 +18967,6 @@ function () {
|
|||
});
|
||||
});
|
||||
|
||||
case 25:
|
||||
this.connectionStatus.className = 'is-loaded';
|
||||
|
||||
case 26:
|
||||
case "end":
|
||||
return _context.stop();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue