From 5feca5e0f418bba86e78044266d502e43deaa0e7 Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Fri, 14 Jun 2019 23:44:31 +0200 Subject: [PATCH] gap has its own view now --- src/ui/web/TimelineTile.js | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/ui/web/TimelineTile.js b/src/ui/web/TimelineTile.js index 0e583a37..c121ea14 100644 --- a/src/ui/web/TimelineTile.js +++ b/src/ui/web/TimelineTile.js @@ -25,15 +25,6 @@ function renderTile(tile) { switch (tile.shape) { case "message": return html.li(null, [html.strong(null, tile.internalId+" "), tile.label]); - case "gap": { - const button = html.button(null, (tile.isUp ? "🠝" : "🠟") + " fill gap"); - const handler = () => { - tile.fill(); - button.removeEventListener("click", handler); - }; - button.addEventListener("click", handler); - return html.li(null, [html.strong(null, tile.internalId+" "), button]); - } case "announcement": return html.li(null, [html.strong(null, tile.internalId+" "), tile.label]); default: