Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
FUSS Online Collaboration Suite
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
FUSS Team
FUSS Online Collaboration Suite
Commits
5cd2e236
Commit
5cd2e236
authored
6 years ago
by
Henry Castro
Browse files
Options
Downloads
Patches
Plain Diff
loleaflet: avoid unnecessary "map" global variable in Map.Keyboard.js
Change-Id: I2e566157d468699e901c24ad0c23de501297bf2c
parent
6e6b56ad
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
loleaflet/src/map/handler/Map.Keyboard.js
+1
-3
1 addition, 3 deletions
loleaflet/src/map/handler/Map.Keyboard.js
with
1 addition
and
3 deletions
loleaflet/src/map/handler/Map.Keyboard.js
+
1
−
3
View file @
5cd2e236
...
...
@@ -2,8 +2,6 @@
* L.Map.Keyboard is handling keyboard interaction with the map, enabled by default.
*/
/* global map */
L
.
Map
.
mergeOptions
({
keyboard
:
true
,
keyboardPanOffset
:
20
,
...
...
@@ -451,7 +449,7 @@ L.Map.Keyboard = L.Handler.extend({
}
if
(
e
.
originalEvent
.
ctrlKey
&&
e
.
originalEvent
.
shiftKey
&&
e
.
originalEvent
.
key
===
'
?
'
)
{
map
.
showLOKeyboardHelp
();
this
.
_
map
.
showLOKeyboardHelp
();
e
.
originalEvent
.
preventDefault
();
return
true
;
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment