Commit ddd12339 authored by Marc Duez's avatar Marc Duez
Browse files

pdf.js : debug default clone list for pdf > with multi-system the first 5...

pdf.js : debug default clone list for pdf > with multi-system the first 5 clone in the list can be unactive
parent 41046032
......@@ -42,7 +42,7 @@ PDF.prototype = {
if (this.list.length == 0) {
var flag = 5;
for (var i = 0; i < this.m.n_clones; i++) {
if (this.m.clusters[i].length != 0 && flag != 0) {
if (this.m.clusters[i].length != 0 && flag != 0 && this.m.clone(i).isActive()) {
this.list.push(i);
flag--;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment