From fb4b19a393b1c032d510dc5f54b57677ea942291 Mon Sep 17 00:00:00 2001 From: meganrogge Date: Wed, 9 Feb 2022 08:47:10 -0600 Subject: [PATCH] polish --- demo/client.ts | 4 ++-- demo/index.html | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/demo/client.ts b/demo/client.ts index 977bcfd8..cafbcd0b 100644 --- a/demo/client.ts +++ b/demo/client.ts @@ -149,7 +149,7 @@ if (document.location.pathname === '/test') { document.getElementById('serialize').addEventListener('click', serializeButtonHandler); document.getElementById('custom-glyph').addEventListener('click', writeCustomGlyphHandler); document.getElementById('load-test').addEventListener('click', loadTest); - document.getElementById('decoration').addEventListener('click', addDecoration); + document.getElementById('add-decoration').addEventListener('click', addDecoration); } function createTerminal(): void { @@ -531,4 +531,4 @@ function addDecoration() { const marker = term.addMarker(1); const decoration = term.registerDecoration({ marker }); decoration.element.style.backgroundColor = 'red'; -} \ No newline at end of file +} diff --git a/demo/index.html b/demo/index.html index 24ee68b5..aa28000b 100644 --- a/demo/index.html +++ b/demo/index.html @@ -64,7 +64,7 @@ - +