Browse Source

Flow.js: Remove unnecessary constructor arguments. (#25747)

sunag 2 years ago
parent
commit
a55464eacb
1 changed files with 3 additions and 3 deletions
  1. 3 3
      playground/libs/flow.module.js

+ 3 - 3
playground/libs/flow.module.js

@@ -3074,7 +3074,7 @@ class ContextMenu extends Menu {
 
 	constructor( target = null ) {
 
-		super( 'context', target );
+		super( 'context' );
 
 		this.events.context = [];
 
@@ -3264,9 +3264,9 @@ class ContextMenu extends Menu {
 
 class CircleMenu extends Menu {
 
-	constructor( target = null ) {
+	constructor() {
 
-		super( 'circle', target );
+		super( 'circle' );
 
 	}