mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-07 17:54:10 +01:00
Network state nonsense.
This commit is contained in:
@@ -106,10 +106,10 @@ var Browser = Module("browser", XPCOM(Ci.nsISupportsWeakReference, ModuleBase),
|
||||
onStateChange: util.wrapCallback(function onStateChange(webProgress, request, flags, status) {
|
||||
const L = Ci.nsIWebProgressListener;
|
||||
|
||||
if (flags & (L.STATE_IS_DOCUMENT | L.STATE_IS_WINDOW)) {
|
||||
if (request)
|
||||
dactyl.applyTriggerObserver("browser.stateChange", arguments);
|
||||
if (request)
|
||||
dactyl.applyTriggerObserver("browser.stateChange", arguments);
|
||||
|
||||
if (flags & (L.STATE_IS_DOCUMENT | L.STATE_IS_WINDOW)) {
|
||||
// This fires when the load event is initiated
|
||||
// only thrown for the current tab, not when another tab changes
|
||||
if (flags & L.STATE_START) {
|
||||
|
||||
Reference in New Issue
Block a user