From dd1e4018bab73e9475d933b2c8479bdcb7dde0c0 Mon Sep 17 00:00:00 2001 From: internet-account2 <190649829+internet-account2@users.noreply.github.com> Date: Fri, 3 Jul 2026 19:31:54 +0200 Subject: [PATCH] Remove unused code The removed line isn't used anywhere in this code example or even anywhere in the rest of the page. It looks like it's copied from https://mdn.github.io/dom-examples/popover-api/toggle-help-ui/ where it was used to hide the help text if no popover support is detected. --- files/en-us/web/api/popover_api/using/index.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/files/en-us/web/api/popover_api/using/index.md b/files/en-us/web/api/popover_api/using/index.md index 7732157c40424f8..96a297265862cc9 100644 --- a/files/en-us/web/api/popover_api/using/index.md +++ b/files/en-us/web/api/popover_api/using/index.md @@ -156,8 +156,6 @@ Putting these three together, you can programmatically set up a popover and its const popover = document.getElementById("mypopover"); const toggleBtn = document.getElementById("toggleBtn"); -const keyboardHelpPara = document.getElementById("keyboard-help-para"); - const popoverSupported = supportsPopover(); if (popoverSupported) {