Skip to content

Commit

Permalink
Adds double tilde
Browse files Browse the repository at this point in the history
  • Loading branch information
devansh016 committed Feb 10, 2025
1 parent 5602402 commit d6df80b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/_enqueues/wp/embed.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
height = parseInt( data.value, 10 );
if ( height > 1000 ) {
height = 1000;
} else if ( height < 100 ) {
} else if ( ~~height < 100 ) {
height = 100;
}

Expand Down

0 comments on commit d6df80b

Please sign in to comment.