Skip to content
Browse files

Temporary fix for issue 5577 (Right-clicking inline styles shows the …

  • Loading branch information...
1 parent a5599dd commit 29a997af05e3992b54c216566bab3104da1288ae @simonlindholm simonlindholm committed Aug 22, 2012
Showing with 4 additions and 0 deletions.
  1. +4 −0 extension/content/firebug/chrome/reps.js
View
4 extension/content/firebug/chrome/reps.js
@@ -1109,6 +1109,10 @@ FirebugReps.Element = domplate(Firebug.Rep,
getContextMenuItems: function(elt, target, context)
{
+ // XXX: Temporary fix for issue 5577.
+ if (Dom.getAncestorByClass(target, "cssElementRuleContainer"))
+ return;
+
var type;
var monitored = EventMonitor.areEventsMonitored(elt, null, context);
var items = [];

0 comments on commit 29a997a

Please sign in to comment.
Something went wrong with that request. Please try again.