fix pdf display problems in chrome
This commit is contained in:
1 parent
bed7d95bf3
commit
a4dbf39c4a
3 files changed
+25
-7
No files matched your search
@@ -343,8 +343,8 @@ function isDataSchema(url) {
|
||||
function getPDFFileNameFromURL(url) {
|
||||
var query;
|
||||
var title;
|
||||
if (/\?/.test(url)) {
|
||||
url.replace(/\?(.*)$/, function (all, t) {
|
||||
if (/\#/.test(url)) {
|
||||
url.replace(/\#(.*)$/, function (all, t) {
|
||||
title = t;
|
||||
});
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user