Verified Commit a071abee authored by Lauri Timmanee's avatar Lauri Timmanee
Browse files

Issue #3393537 by mstrelan, bnjmnm, nod_, Berdir, smustgrave: Javascript...

Issue #3393537 by mstrelan, bnjmnm, nod_, Berdir, smustgrave: Javascript errors in entity-form.js when retranslate checkbox does not exist
parent 0852886c
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -59,7 +59,7 @@
            $checkbox = $translationContext.find(
              '.js-form-item-translation-retranslate input',
            );
            translate = $checkbox[0].checked
            translate = $checkbox[0]?.checked
              ? Drupal.t('Flag other translations as outdated')
              : Drupal.t('Do not flag other translations as outdated');
          }