Commit 5dd9b7a5 authored by bbaer's avatar bbaer
Browse files

removed uneeded change

parent 2cb7ed77
Pipeline #2798 passed with stages
in 2 minutes and 34 seconds
...@@ -33,7 +33,7 @@ ...@@ -33,7 +33,7 @@
// ========================== // ==========================
function getValue($el) { function getValue($el) {
return $el.is('[type="checkbox"]') ? !!$('[name="' + $el.attr('name') + '"]:checked').length : return $el.is('[type="checkbox"]') ? $el.prop('checked') :
$el.is('[type="radio"]') ? !!$('[name="' + $el.attr('name') + '"]:checked').length : $el.is('[type="radio"]') ? !!$('[name="' + $el.attr('name') + '"]:checked').length :
$el.is('select[multiple]') ? ($el.val() || []).length : $el.is('select[multiple]') ? ($el.val() || []).length :
$el.val() $el.val()
......
Supports Markdown
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