ui.js: Don't use deprecated .size() method but property .length

This commit is contained in:
Johannes Meyer 2019-07-15 14:30:48 +02:00
parent e4afd2bf87
commit f844094475
1 changed files with 1 additions and 1 deletions

View File

@ -497,7 +497,7 @@
$target.contents().filter(function() { return this.nodeType === 3; }).remove();
// has three states?
var triState = $target.find('input[value="unchanged"]').size() > 0 ? 1 : 0;
var triState = $target.find('input[value="unchanged"]').length > 0 ? 1 : 0;
// fetch current value from radiobuttons
var value = $target.find('input:checked').first().val();