소스 검색

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