Skip to content
Permalink
Browse files

Changed confusing function name to avoid name shadowing in indentlist…

… plugin.
  • Loading branch information...
oleq committed Aug 12, 2013
1 parent 1143832 commit e6f88acc9a05b1b1485cf233fcf1b6985e950d23
Showing with 2 additions and 2 deletions.
  1. +2 −2 plugins/indentlist/plugin.js
@@ -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,
@@ -271,7 +271,7 @@
}

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

0 comments on commit e6f88ac

Please sign in to comment.
You can’t perform that action at this time.