diff --git a/src/panel/balloon/balloonpanelview.js b/src/panel/balloon/balloonpanelview.js index 113d405d..21d62b68 100644 --- a/src/panel/balloon/balloonpanelview.js +++ b/src/panel/balloon/balloonpanelview.js @@ -185,7 +185,7 @@ export default class BalloonPanelView extends View { // We need to take HTMLElement related to the target if it is possible. if ( isElement( options.target ) ) { - target = target; + target = options.target; } else if ( isRange( options.target ) ) { target = options.target.commonAncestorContainer; }