mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-31 14:15:30 +00:00
Bug 364611 - toggleOfflineStatus in browser.js shouldn't ask if it can go offline if it's going online.
r=gavin.sharp@gmail.com (Gavin Sharp)
This commit is contained in:
parent
481ad499fe
commit
358cf36800
@ -4962,7 +4962,7 @@ var BrowserOffline = {
|
||||
} catch (ex) {
|
||||
}
|
||||
|
||||
if (!this._canGoOffline()) {
|
||||
if (!ioService.offline && !this._canGoOffline()) {
|
||||
this._updateOfflineUI(false);
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user