From b94d7d8928a50490a1297f5b620fad2e5fb9d8e2 Mon Sep 17 00:00:00 2001 From: girst Date: Sun, 22 Nov 2020 16:27:50 +0100 Subject: [PATCH] Fix search on help screen Used the long removed element, which was replaced with a standard . --- extension/lib/help.coffee | 2 +- extension/skin/style.css | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/extension/lib/help.coffee b/extension/lib/help.coffee index 858ac31..577f28c 100644 --- a/extension/lib/help.coffee +++ b/extension/lib/help.coffee @@ -25,7 +25,7 @@ injectHelp = (window, vimfx) -> content = createContent(window, vimfx) wrapper.appendChild(content) - searchInput = document.createElement('textbox') + searchInput = document.createElement('input') utils.setAttributes(searchInput, { class: 'search-input' placeholder: translate('help.search') diff --git a/extension/skin/style.css b/extension/skin/style.css index 00f2eca..edfb194 100644 --- a/extension/skin/style.css +++ b/extension/skin/style.css @@ -310,7 +310,7 @@ toolbarpaletteitem[place="palette"] > #VimFxButton { bottom: 0; } - #VimFxHelpDialogContainer .search-input:not([focused="true"]) { + #VimFxHelpDialogContainer .search-input:not(:focus) { opacity: 0; pointer-events: none; } -- 2.39.3