Skip to content

Don't close link hints when shift is pressed #744

Merged
merged 1 commit into from Dec 16, 2012
View
2 content_scripts/link_hints.coffee
@@ -173,7 +173,7 @@ LinkHints =
# TODO(philc): Ignore keys that have modifiers.
if (KeyboardUtils.isEscape(event))
@deactivateMode()
- else
+ else if (event.keyCode != keyCodes.shiftKey)
keyResult = @markerMatcher.matchHintsByKey(hintMarkers, event)
linksMatched = keyResult.linksMatched
delay = keyResult.delay ? 0
Something went wrong with that request. Please try again.