Skip to content

Commit

Permalink
fixed issue: API's text
Browse files Browse the repository at this point in the history
  • Loading branch information
ztree committed May 23, 2014
1 parent f898834 commit 86ecdc9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion api/cn/zTreeObj.cancelSelectedNode.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ <h4>1. 取消当前所有被选中节点的选中状态</h4>
</code></pre>
<h4>2. 取消当前第一个被选中节点的选中状态</h4>
<pre xmlns=""><code>var treeObj = $.fn.zTree.getZTreeObj("tree");
var nodes = treeObj.getSelectedNode();
var nodes = treeObj.getSelectedNodes();
if (nodes.length>0) {
treeObj.cancelSelectedNode(nodes[0]);
}
Expand Down
2 changes: 1 addition & 1 deletion api/en/zTreeObj.cancelSelectedNode.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ <h4>1. Cancel all of the selected nodes</h4>
</code></pre>
<h4>2. Cancel the first node of the selected nodes</h4>
<pre xmlns=""><code>var treeObj = $.fn.zTree.getZTreeObj("tree");
var nodes = treeObj.getSelectedNode();
var nodes = treeObj.getSelectedNodes();
if (nodes.length>0) {
treeObj.cancelSelectedNode(nodes[0]);
}
Expand Down

0 comments on commit 86ecdc9

Please sign in to comment.