[Pkg-mozext-commits] [wot] 47/226: Fix warning about dead objects after pop-up hide timeout.

David Prévot taffit at moszumanska.debian.org
Fri May 1 00:35:33 UTC 2015


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository wot.

commit b82f9024d15a425dbfb1e043a39e023fe489eb2f
Author: Sami Tolvanen <sami at mywot.com>
Date:   Thu Sep 20 13:54:40 2012 +0300

    Fix warning about dead objects after pop-up hide timeout.
---
 content/popup.js | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/content/popup.js b/content/popup.js
index 542d8e0..bb01464 100644
--- a/content/popup.js
+++ b/content/popup.js
@@ -274,6 +274,9 @@ var wot_popup =
 	hidelayer: function(content, appearance)
 	{
 		try {
+			if (!content) {
+				return;
+			}
 			var layer = content.getElementById(this.id);
 
 			if (layer && layer.style.display != "none" &&

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/wot.git



More information about the Pkg-mozext-commits mailing list