Permalink
Browse files

Issue 5761: Highlighting of changed HTML attributes doesn't work in s…

…ome cases
  • Loading branch information...
1 parent c81b867 commit 4ef684e3be0c97c39a44564f83b8794fcfd093c2 @janodvarko janodvarko committed Jul 31, 2012
Showing with 6 additions and 2 deletions.
  1. +6 −2 extension/content/firebug/html/htmlPanel.js
@@ -390,8 +390,12 @@ Firebug.HTMLPanel.prototype = Obj.extend(WalkingPanel,
registerMutationListeners: function(win)
{
- if (this.context.attachedMutation)
- return;
+ // The 'attachedMutation' flag should be maintained per window. Otherwise
+ // we can miss some registration. Events.addEventListener is safe for multiple
+ // calls so, let's remove the condition for now as part of issue 5761 fix.
+ // This should be improved together with issue 5490
+ //if (this.context.attachedMutation)
+ // return;
this.context.attachedMutation = true;

0 comments on commit 4ef684e

Please sign in to comment.