Skip to content

Commit

Permalink
Merge pull request #781 from dew326/fix-translation-in-pb
Browse files Browse the repository at this point in the history
EZEE-2652: Cannot add Landing page translation via action bar button
  • Loading branch information
Łukasz Serwatka authored Dec 21, 2018
2 parents 5c38cb5 + 9e241bf commit 5b24cb7
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@
const SELECTOR_MODAL = '.ez-modal';
const resetSelection = () => {
doc.querySelectorAll(`${SELECTOR_LABEL} .ez-translation__input`).forEach((input) => {
if (input.closest('[hidden]')) {
return;
}

input.checked = false;
});
};
Expand Down

0 comments on commit 5b24cb7

Please sign in to comment.