فهرست منبع

Merge pull request #3547 from mouse-lin/master

fix: modify announcement 4.0 doc Option params
Kevin Brown 10 سال پیش
والد
کامیت
3422460488
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      docs/announcements-4.0.html

+ 1 - 1
docs/announcements-4.0.html

@@ -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);