Permalink
Browse files

Issue 5476 (Box model shading disappears when cursor is moved from a

  • Loading branch information...
1 parent cb36bf6 commit 9eeff5b709ef84264234db5069bafc76d175d60e @SebastianZ SebastianZ committed May 21, 2012
Showing with 4 additions and 1 deletion.
  1. +4 −1 extension/content/firebug/html/inspector.js
@@ -118,6 +118,9 @@ Firebug.Inspector = Obj.extend(Firebug.Module,
if (FBTrace.DBG_INSPECT)
FBTrace.sysout("Removing inspector highlighter due to setTimeout loop");
+ if (!oldContext.highlightTimeout)
+ return;
+
delete oldContext.highlightTimeout;
if (oldContext.window && oldContext.window.document)
@@ -127,7 +130,7 @@ Firebug.Inspector = Obj.extend(Firebug.Module,
if (oldContext.inspectorMouseMove)
Events.removeEventListener(oldContext.window.document, "mousemove",
oldContext.inspectorMouseMove, true);
- }
+ }
}, inspectDelay);
}
}

0 comments on commit 9eeff5b

Please sign in to comment.