From 5c15c2e097f49f1cd994e5f921987198a1d774c6 Mon Sep 17 00:00:00 2001 From: Julien Veyssier Date: Tue, 27 Dec 2016 17:42:25 +0100 Subject: [PATCH] refs #8 remove search key shortcut --- js/gpxedit.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/js/gpxedit.js b/js/gpxedit.js index cb66fb6..a926ba8 100644 --- a/js/gpxedit.js +++ b/js/gpxedit.js @@ -812,10 +812,6 @@ function checkKey(e){ var kc = e.keyCode; console.log(kc); - if (kc === 0 || kc === 176 || kc === 192){ - e.preventDefault(); - gpxedit.searchControl._toggle(); - } if (kc === 161 || kc === 223){ e.preventDefault(); gpxedit.minimapControl._toggleDisplayButtonClicked();