diff --git a/src/definitions/modules/dropdown.js b/src/definitions/modules/dropdown.js index 30a09f61e..20b44af23 100644 --- a/src/definitions/modules/dropdown.js +++ b/src/definitions/modules/dropdown.js @@ -1161,7 +1161,7 @@ $.fn.dropdown = function(parameters) { if( module.is.visible() ) { // enter (select or open sub-menu) - if(pressedKey == keys.enter || pressedKey == keys.delimiter) { + if(pressedKey == keys.enter) { if(pressedKey == keys.enter && hasSelectedItem && hasSubMenu && !settings.allowCategorySelection) { module.verbose('Pressed enter on unselectable category, opening sub menu'); pressedKey = keys.rightArrow; @@ -1278,7 +1278,7 @@ $.fn.dropdown = function(parameters) { } else { // delimiter key - if(pressedKey == keys.delimiter) { + if(pressedKey == keys.delimiter && settings.allowAdditions && module.is.multiple()) { event.preventDefault(); } // down arrow (open menu)