[Pkg-mozext-commits] [wot] 50/226: Dead objects are unavoidable at times, so suppress the exception message.
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 f904703c3c7cf18cb33c8c0b2b6ad79ddd4475f3
Author: Sami Tolvanen <sami at mywot.com>
Date: Fri Sep 21 10:20:32 2012 +0300
Dead objects are unavoidable at times, so suppress the exception message.
---
content/popup.js | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/content/popup.js b/content/popup.js
index bb01464..553ad8f 100644
--- a/content/popup.js
+++ b/content/popup.js
@@ -274,9 +274,6 @@ var wot_popup =
hidelayer: function(content, appearance)
{
try {
- if (!content) {
- return;
- }
var layer = content.getElementById(this.id);
if (layer && layer.style.display != "none" &&
@@ -285,7 +282,7 @@ var wot_popup =
layer.style.display = "none";
}
} catch (e) {
- dump("wot_popup.hidelayer: failed with " + e + "\n");
+ /* dump("wot_popup.hidelayer: failed with " + e + "\n"); */
}
},
--
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