Skip to content

Commit

Permalink
Font size preview not syncing
Browse files Browse the repository at this point in the history
  • Loading branch information
t-hamano committed Mar 7, 2024
1 parent 1f91486 commit e24301d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion inc/class-options.php
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,8 @@ public function create_options_page() {
} );

// Update font size preview styles
$( '#rtex-metabox-font-size input' ).on( 'change', function () {
$( '#rtex-metabox-font_size input' ).on( 'change', function () {
const index = $( this ).parents( 'tr' ).attr( 'data-index' );
previewFontSize( index );
} );

Expand Down

0 comments on commit e24301d

Please sign in to comment.