diff --git a/suite/common/pref/nsPrefWindow.js b/suite/common/pref/nsPrefWindow.js index e37f936d7a5d..7bf8e0d66301 100644 --- a/suite/common/pref/nsPrefWindow.js +++ b/suite/common/pref/nsPrefWindow.js @@ -265,9 +265,9 @@ nsPrefWindow.prototype = { document.getElementById( this.contentFrame ).setAttribute( "src", newURL ); if( !newTag ) - { - document.getElementById( this.contentFrame ).setAttribute( "tag", newTag ); - } + document.getElementById( this.contentFrame ).removeAttribute( "tag" ); + else + document.getElementById( this.contentFrame ).setAttribute( "tag", newTag ); } },