Skip to content

Commit

Permalink
Merge pull request #407 from andreasnuesslein/patch-2
Browse files Browse the repository at this point in the history
Update language_toggles.js
  • Loading branch information
DiogoMarques29 authored Apr 2, 2024
2 parents 06169b5 + c39a8d7 commit 8ea69c4
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
jQuery( () => {
///////////////

const tabbedContent = $(`form .tab-content`);
const tabbedContent = $(`form .tab-content, form .nice-padding`);
const topLevel = (tabbedContent.length > 0) ? tabbedContent.first() : $(`.content > form`);
const languageCodeRegex = new RegExp(' \\[('+wagtailModelTranslations.languages.join('|')+')\\]');

Expand Down Expand Up @@ -180,4 +180,4 @@ for (language of initially_loaded_locale) {

///////////////
});
///////////////
///////////////

0 comments on commit 8ea69c4

Please sign in to comment.