diff --git a/src/Pjax/Pjax.js b/src/Pjax/Pjax.js index e50d1734..7f92082a 100644 --- a/src/Pjax/Pjax.js +++ b/src/Pjax/Pjax.js @@ -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