Skip to content

Commit 95b23a4

Browse files
author
Saeed
committed
#198 bugfix
1 parent 8621c9e commit 95b23a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pdfreader_assets/js/pdfviewer-slideshow.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ $(function(){
8383
}
8484
function is_slideshow(url_str)
8585
{
86-
var file_ext = path.extname(url_str);
86+
var file_ext = path.extname(path_without_query(url_str));
8787
return img_exts.indexOf(file_ext.toLowerCase()) != -1;
8888
}
8989
pdf_viewer.bind('render-link', function(ev, data, page)

0 commit comments

Comments
 (0)