Permalink
Browse files

Fix logic bug.

Refs #1482
  • Loading branch information...
arantius committed Jan 9, 2012
1 parent 40993dd commit 35feeb04a8335c443613b11135a2364f4e15752e
Showing with 1 addition and 1 deletion.
  1. +1 −1 components/greasemonkey.js
@@ -378,7 +378,7 @@ service.prototype.contentDestroyed = function(contentWindowId) {
try { closed = command.contentWindow.closed; } catch (e) { }
if (closed ||
- (contentWindowId && command.contentWindowId == contentWindowId)
+ (contentWindowId && (command.contentWindowId == contentWindowId))
) {
gMenuCommands.splice(index, 1);
}

0 comments on commit 35feeb0

Please sign in to comment.