Permalink
Browse files

Popup: When focusing on the container, do not bounce focus to an elem…

…ent inside it even if such an element is available. Fixes #5706.
  • Loading branch information...
1 parent 0896247 commit c6054234225cde84198831cf2873ec3dba8b82dd @gabrielschulhof gabrielschulhof committed Feb 28, 2013
Showing with 0 additions and 3 deletions.
  1. +0 −3 js/widgets/popup.js
View
@@ -193,9 +193,6 @@ define( [
} else if ( ui.focusElement[ 0 ] === ui.container[ 0 ] ) {
ui.focusElement = $tgt;
}
- } else if ( ui.focusElement && ui.focusElement[ 0 ] !== ui.container[ 0 ] ) {
- ui.container.blur();
- ui.focusElement.focus();
}
this._ignoreResizeEvents();

0 comments on commit c605423

Please sign in to comment.