From 9a6df1ccf74ff79d6abc1b69f2e8dca7f60750b4 Mon Sep 17 00:00:00 2001 From: Andrew S Date: Wed, 22 Nov 2023 10:21:59 -0600 Subject: [PATCH] Cleanup WebUtils --- chrome/player/utils/WebUtils.mjs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/chrome/player/utils/WebUtils.mjs b/chrome/player/utils/WebUtils.mjs index 5cb1b916..18c19efa 100644 --- a/chrome/player/utils/WebUtils.mjs +++ b/chrome/player/utils/WebUtils.mjs @@ -214,17 +214,13 @@ export class WebUtils { if (e.key === 'Enter') { span.blur(); e.stopPropagation(); - e.preventDefault(); } + e.preventDefault(); }); span.addEventListener('click', (e) => { e.stopPropagation(); }); - - span.addEventListener('keydown', (e) => { - e.stopPropagation(); - }); } return container; }