Skip to content

Commit

Permalink
Auch...Fix download check
Browse files Browse the repository at this point in the history
  • Loading branch information
luruke committed Sep 11, 2016
1 parent 795bcff commit 965a266
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Pjax/Pjax.js
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ var Pjax = {
return false;

//Ignore case where there is download attribute
if (element.getAttribute && typeof element.download === 'string')
if (element.getAttribute && typeof element.getAttribute('download') === 'string')
return false;

//In case you're trying to load the same page
Expand Down

0 comments on commit 965a266

Please sign in to comment.