[Pkg-mozext-commits] [tabmixplus] 21/32: Expression closures are deprecated

David Prévot taffit at moszumanska.debian.org
Sun Feb 7 19:23:14 UTC 2016


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

taffit pushed a commit to branch master
in repository tabmixplus.

commit 6c88027be348939260a4818af021847c314b7501
Author: onemen <tabmix.onemen at gmail.com>
Date:   Sat Jan 9 23:35:16 2016 +0200

    Expression closures are deprecated
---
 chrome/content/tab/tabbrowser_4.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/chrome/content/tab/tabbrowser_4.xml b/chrome/content/tab/tabbrowser_4.xml
index 17a80fe..69af5df 100644
--- a/chrome/content/tab/tabbrowser_4.xml
+++ b/chrome/content/tab/tabbrowser_4.xml
@@ -300,7 +300,7 @@
           } catch (e) {}
           if (!isTabFocused) {
             this.setAttribute("ignorefocus", "true");
-            this.mSelect = setTimeout(function (tab) tab.removeAttribute("ignorefocus"), 0, this);
+            this.mSelect = setTimeout(() => this.removeAttribute("ignorefocus"), 0);
           }
         }
         // on mousedown event fall through to default mousedown from tabbox.xml

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



More information about the Pkg-mozext-commits mailing list