Skip to content

Commit

Permalink
Variant selector shouldn't pick up omit toggles
Browse files Browse the repository at this point in the history
  • Loading branch information
joedolson committed Jan 29, 2025
1 parent a6694aa commit a483ea4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/js/base.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
counterText: wptSettings.text
});

const variants = $( '.service-selector input' );
const variants = $( '.service-selection-variants .service-selector input' );
let status_update = $( '#wpt_custom_tweet' ).val();
if ( '' === status_update ) {
status_update = $( 'pre.wpt-template' ).text();
Expand Down
2 changes: 1 addition & 1 deletion src/js/base.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit a483ea4

Please sign in to comment.