Issue #2841767 by vaplas: Remove .size() replace with .length

8.3.x
Nathaniel Catchpole 2017-01-25 13:14:14 +00:00
parent d07733f148
commit 7cd916f7ae
1 changed files with 1 additions and 1 deletions

View File

@ -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 {