Commit 7cd916f7 authored by catch's avatar catch

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

parent d07733f1
......@@ -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 {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment