Skip to content

Commit a780066

Browse files
committed
djvu, epub and txt support
The lightbox will not show up when the user select a thumbnail from a txt, djvu or epub file.
1 parent 85a7272 commit a780066

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

js/script.js

+3
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@ function lightbox(){
3131
);
3232
break;
3333
case '.pdf':
34+
case 'djvu':
35+
case 'epub':
36+
case '.txt':
3437
break;
3538
default:
3639
let file = link.indexOf('&');

0 commit comments

Comments
 (0)