@internetarchive/bookreader 5.0.0-48-alpha0 → 5.0.0-48-alpha1
Sign up to get free protection for your applications and to get access to all the features.
package/package.json
CHANGED
@@ -33,7 +33,7 @@ export default class DownloadsProvider {
|
|
33
33
|
const [ type = '', link = '' ] = incoming;
|
34
34
|
if (!type) return found;
|
35
35
|
let formattedType = type.toLowerCase();
|
36
|
-
if ((formattedType === 'pdf' || formattedType === 'epub') && this.
|
36
|
+
if ((formattedType === 'pdf' || formattedType === 'epub') && this.isBookProtected) {
|
37
37
|
formattedType = `adobe${formattedType}`;
|
38
38
|
}
|
39
39
|
found[formattedType] = link;
|