nakarte

Source code of https://map.sikmir.ru (fork)
git clone git://git.sikmir.ru/nakarte
Log | Files | Refs | LICENSE

commit 5c2f67d9938c6d17c200aa34d280a59aa58e0e43
parent cd0d7e8ce625f1a81b58c9ea649699daf94dc39a
Author: Sergej Orlov <wladimirych@gmail.com>
Date:   Sat,  6 Dec 2025 10:43:18 +0100

leaflet.control.layers.configure: remove leftovers after hotkeys improvements

In "layers control: improve custom hotkeys look and interaction"
<input> was replaced with <div>, so blocking default action on keypress
is not needed anymore

Diffstat:
Msrc/lib/leaflet.control.layers.configure/index.js | 2--
1 file changed, 0 insertions(+), 2 deletions(-)

diff --git a/src/lib/leaflet.control.layers.configure/index.js b/src/lib/leaflet.control.layers.configure/index.js @@ -69,12 +69,10 @@ class LayersConfigDialog { attr: {title: $root.getHotkeyTooltip($data)}, event: { keyup: $root.onHotkeyInput.bind($root), - keypress: function() {}, click: function(_, e) {e.target.focus()}, blur: function() {error(null)}, }, clickBubble: false, - keypressBubble: false, keyupBubble: false"> ></div> <div class="error" data-bind="text: error, visible: error"></div>