mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-23 23:58:31 -05:00
don't blur on autocomplete click
This commit is contained in:
parent
7db4ddcb66
commit
31d801ce2c
1 changed files with 5 additions and 1 deletions
|
@ -93,7 +93,11 @@ function positioningWorkaround($fixedElement) {
|
|||
}
|
||||
|
||||
const checkForInputs = _.debounce(function(){
|
||||
$fixedElement.find('button,a').each(function(){
|
||||
$fixedElement.find('button,a:not(.autocomplete)').each(function(idx, elem){
|
||||
if ($(elem).parents('.autocomplete').length > 0) {
|
||||
return;
|
||||
}
|
||||
|
||||
attachTouchStart(this, function(evt){
|
||||
done = true;
|
||||
$(document.activeElement).blur();
|
||||
|
|
Loading…
Reference in a new issue