We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4750b07 commit a2e69c5Copy full SHA for a2e69c5
src/LiveDevelopment/BrowserScripts/RemoteFunctions.js
@@ -3666,6 +3666,12 @@ function RemoteFunctions(config = {}) {
3666
// prevent multiple downloads of the same image
3667
if (thumbDiv.classList.contains('downloading')) { return; }
3668
3669
+ // check if internet connection is there or not before downloading
3670
+ this._checkNetworkStatus();
3671
+ if (this._isOffline) {
3672
+ return;
3673
+ }
3674
+
3675
// show download indicator
3676
this._showDownloadIndicator(thumbDiv);
3677
0 commit comments