Oskar Wróbel пре 8 година
родитељ
комит
8aac65bcf3
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      packages/ckeditor5-ui/src/panel/balloon/balloonpanelview.js

+ 1 - 1
packages/ckeditor5-ui/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;
 		}