Issue #2841767 by vaplas: Remove .size() replace with .length
parent
d07733f148
commit
7cd916f7ae
|
@ -41,7 +41,7 @@
|
|||
var translate;
|
||||
var $checkbox = $translationContext.find('.js-form-item-translation-translate input');
|
||||
|
||||
if ($checkbox.size()) {
|
||||
if ($checkbox.length) {
|
||||
translate = $checkbox.is(':checked') ? Drupal.t('Needs to be updated') : Drupal.t('Does not need to be updated');
|
||||
}
|
||||
else {
|
||||
|
|
Loading…
Reference in New Issue