HubSpot / offline

Automatically display online/offline indication to your users
http://github.hubspot.com/offline/docs/welcome
MIT License
8.65k stars 847 forks source link

Downloading file in Safari causes Offline.js to show incorrectly #249

Open krmannix opened 7 years ago

krmannix commented 7 years ago

I'm downloading a relatively small file in my web application, which has a Content-Type of application/octet-stream. While downloading, Offline.js appears and indicates that the network connection has been lost - once the file has completed downloading, Offline.js indicates that the network connection has reconnected.

I'm using Safari Version 9.1 (11601.5.17.1) on Mac OSX El Capitan Version 10.11.4, and using the latest version of Offline.js (0.7.14). I'm using angular version 1.5.8.

Please let me know if I can provide any logs that may be helpful, or if there is a fix or workaround I can implement.