[Pkg-mozext-commits] [itsalltext] 38/459: Fixed problem with cancelling intervals

David Prévot taffit at moszumanska.debian.org
Tue Feb 24 23:26:04 UTC 2015


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

taffit pushed a commit to branch master
in repository itsalltext.

commit e9eb291a28222ca7f80d50f18421033f68792329
Author: Christian Höltje <docwhat at gerf.org>
Date:   Thu Dec 28 11:10:01 2006 -0500

    Fixed problem with cancelling intervals
---
 chrome/content/itsalltext.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/chrome/content/itsalltext.js b/chrome/content/itsalltext.js
index 2b69ca6..5163cb9 100644
--- a/chrome/content/itsalltext.js
+++ b/chrome/content/itsalltext.js
@@ -593,7 +593,7 @@ function ItsAllTextOverlay() {
     var id = null;
     that.refreshDocument(doc);
     id = setInterval(function() {
-      if (doc) {
+      if (doc.location) {
         that.debug('document %s %o "%s"', id, doc, doc.URL);
         that.refreshDocument(doc);
       } else {

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



More information about the Pkg-mozext-commits mailing list