small optimization + namechange for getNextFold->getNextFoldLine

This commit is contained in:
nightwing 2011-10-16 17:06:01 +05:00
commit 70201ad6a7
4 changed files with 12 additions and 12 deletions

View file

@ -183,7 +183,7 @@ function Folding() {
}
// returns the fold which starts after or contains docRow
this.getNextFold = function(docRow, startFoldLine) {
this.getNextFoldLine = function(docRow, startFoldLine) {
var foldData = this.$foldData, ans;
var i = 0;
if (startFoldLine)