Merge pull request #7733 from minrk/esc-tooltip

prevent esc from bubbling up when dismissing tooltip
This commit is contained in:
Jonathan Frederic 2015-02-11 10:20:00 -08:00
commit 65540779ee

View File

@ -329,6 +329,7 @@ define([
// If we closed the tooltip, don't let CM or the global handlers
// handle this event.
event.codemirrorIgnore = true;
event._ipkmIgnore = true;
event.preventDefault();
return true;
} else if (event.keyCode === keycodes.tab && event.type === 'keydown' && event.shiftKey) {