Skip to content

Commit

Permalink
Fix embed block height calculation by removing unnecessary lower boun…
Browse files Browse the repository at this point in the history
…d check
  • Loading branch information
devansh016 committed Feb 10, 2025
1 parent 78bcb74 commit 3bae229
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/js/_enqueues/wp/embed.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,6 @@
height = parseInt( data.value, 10 );
if ( height > 1000 ) {
height = 1000;
} else if ( ~~height < 200 ) {
height = 200;
}

source.height = height;
Expand Down

0 comments on commit 3bae229

Please sign in to comment.