Navigation Menu

Skip to content

Commit

Permalink
Fix logic bug.
Browse files Browse the repository at this point in the history
Refs #1482
  • Loading branch information
arantius committed Jan 9, 2012
1 parent 40993dd commit 35feeb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/greasemonkey.js
Expand Up @@ -378,7 +378,7 @@ service.prototype.contentDestroyed = function(contentWindowId) {
try { closed = command.contentWindow.closed; } catch (e) { } try { closed = command.contentWindow.closed; } catch (e) { }


if (closed || if (closed ||
(contentWindowId && command.contentWindowId == contentWindowId) (contentWindowId && (command.contentWindowId == contentWindowId))
) { ) {
gMenuCommands.splice(index, 1); gMenuCommands.splice(index, 1);
} }
Expand Down

0 comments on commit 35feeb0

Please sign in to comment.