浏览代码

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];
 
     // 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
     $element.append(option);