fix: modify announcement 4.0 doc Option params
This commit is contained in:
parent
bd46b7eaac
commit
eab609185a
@ -451,7 +451,7 @@ $request.then(function (data) {
|
|||||||
var item = data[d];
|
var item = data[d];
|
||||||
|
|
||||||
// Create the DOM option that is pre-selected by default
|
// Create the DOM option that is pre-selected by default
|
||||||
var option = new Option(data.text, data.id, true, true);
|
var option = new Option(item.text, item.id, true, true);
|
||||||
|
|
||||||
// Append it to the select
|
// Append it to the select
|
||||||
$element.append(option);
|
$element.append(option);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user