mirror of
https://github.com/kiwix/kiwix-js.git
synced 2025-09-23 04:28:30 -04:00
Fix for the case where no title is found in the target rectangle
This commit is contained in:
parent
92f71aee6a
commit
ccf3f80117
@ -762,7 +762,7 @@ define(function(require) {
|
||||
LocalArchive.readTitlesFromTitleCoordsInTitleFile(localArchive, filteredTitlePositions, 0, new Array(), callbackFunction);
|
||||
}
|
||||
else {
|
||||
return titlePositionsFound;
|
||||
callbackFunction(titlePositionsFound);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user