diff --git a/docs/ssvc-calc/ssvc.js b/docs/ssvc-calc/ssvc.js index 0c23ecd7..3527689c 100644 --- a/docs/ssvc-calc/ssvc.js +++ b/docs/ssvc-calc/ssvc.js @@ -88,16 +88,16 @@ function reset_form() { $('select').prop('selectedIndex',0); $('input[type="file"]').hide(); } -function select_add_option(s,opt) { +function select_add_option(s, opt, txt) { var q = s.find('option').toArray().findIndex(function(x) { if(x.value == opt) { x.selected = true; return true; } }); if(q < 0) { - s.append($('