publish: Add ability to link to specific blocks as static paintings

generated from commit 6bfef497a0
This commit is contained in:
Joshua Seigler 2019-04-07 23:15:54 -04:00
parent 8fb32c1ba4
commit c107040e1d
2 changed files with 5 additions and 7 deletions

View file

@ -18888,7 +18888,7 @@ function () {
block = new URL(window.location).searchParams.get('block'); block = new URL(window.location).searchParams.get('block');
if (!(block != null)) { if (!(block != null)) {
_context.next = 23; _context.next = 24;
break; break;
} }
@ -18936,10 +18936,11 @@ function () {
break; break;
case 21: case 21:
_context.next = 25; this.connectionStatus.className = 'is-loaded';
_context.next = 26;
break; break;
case 23: case 24:
// live display // live display
this.socket = _socket["default"].connect("https://insight.dash.org:443/"); this.socket = _socket["default"].connect("https://insight.dash.org:443/");
fetch('https://insight.dash.org/api/status?q=getLastBlockHash').then(function (resp) { 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 26:
case "end": case "end":
return _context.stop(); return _context.stop();

File diff suppressed because one or more lines are too long