Skip to content

Commit

Permalink
Changed confusing function name to avoid name shadowing in indentlist…
Browse files Browse the repository at this point in the history
… plugin.
  • Loading branch information
oleq committed Aug 26, 2013
1 parent 1143832 commit e6f88ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/indentlist/plugin.js
Expand Up @@ -114,7 +114,7 @@
database = this.database,
context = this.context;

function indentList( listNode ) {
function indent( listNode ) {
// Our starting and ending points of the range might be inside some blocks under a list item...
// So before playing with the iterator, we need to expand the block to include the list items.
var startContainer = range.startContainer,
Expand Down Expand Up @@ -271,7 +271,7 @@
}

if ( nearestListBlock )
return indentList( nearestListBlock );
return indent( nearestListBlock );
}
return 0;
}
Expand Down

0 comments on commit e6f88ac

Please sign in to comment.