Skip to content

Update index.js to handle local files#4

Open
mrcatj wants to merge 1 commit into
gerhardberger:masterfrom
mrcatj:patch-1
Open

Update index.js to handle local files#4
mrcatj wants to merge 1 commit into
gerhardberger:masterfrom
mrcatj:patch-1

Conversation

@mrcatj

@mrcatj mrcatj commented Mar 15, 2017

Copy link
Copy Markdown

I was able to get the PDFWindow to work perfectly for online (http/https) files, but when attempting to open a local file I got a prompt to save instead of opening. After looking through the code, i noticed there was a "/" missing from the local file:/// portion of the Promise.

I was able to get the PDFWindow to work perfectly for online (http/https) files, but when attempting to open a local file I got a prompt to save instead of opening. After looking through the code, i noticed there was a "/" missing from the local file:/// portion of the Promise.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant