Skip to content

Commit

Permalink
Merge pull request Tencent#158 from moesoha/soha-patch-1
Browse files Browse the repository at this point in the history
Fix a typo "Expand" ("Expend" previously)
  • Loading branch information
Maizify authored Apr 17, 2018
2 parents 2fcd7a7 + 038a05f commit aa30ca1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/element/element.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ class VConsoleElementsTab extends VConsolePlugin {
onAddTool(callback) {
let that = this;
let toolList = [{
name: 'Expend',
name: 'Expand',
global: false,
onClick: function(e) {
if (that.activedElem) {
Expand Down Expand Up @@ -233,7 +233,7 @@ class VConsoleElementsTab extends VConsolePlugin {
let $view = (new NodeView(node)).get();
// connect to node
node.view = $view;
// expend
// expand
$.delegate($view, 'click', '.vcelm-node', function(event) {
event.stopPropagation();
let $parent = this.parentNode;
Expand Down Expand Up @@ -355,4 +355,4 @@ class VConsoleElementsTab extends VConsolePlugin {

} // END class

export default VConsoleElementsTab;
export default VConsoleElementsTab;

0 comments on commit aa30ca1

Please sign in to comment.