mirror of
https://github.com/FoggedLens/iD.git
synced 2026-06-05 22:46:38 +02:00
Taglist: do not addTag when presssing TAB in shiftKey mode
This commit is contained in:
+2
-1
@@ -182,7 +182,8 @@ iD.ui.Taglist = function() {
|
||||
|
||||
function pushMore() {
|
||||
if (d3.event.keyCode === 9 &&
|
||||
list.selectAll('li:last-child input.value').node() === this) {
|
||||
list.selectAll('li:last-child input.value').node() === this &&
|
||||
!d3.event.shiftKey) {
|
||||
addTag();
|
||||
focusNewKey();
|
||||
d3.event.preventDefault();
|
||||
|
||||
Reference in New Issue
Block a user