Fix download button waiting if document has started but not completed downloading
Merge pull request #4455 from aib/master

Fix download button waiting if document has started but not completed downloading