[Pkg-mozext-commits] [perspectives-extension] 07/44: Pers_keypress - Convert == to ===

David Prévot taffit at moszumanska.debian.org
Sat Jun 6 02:55:27 UTC 2015


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

taffit pushed a commit to branch master
in repository perspectives-extension.

commit 5601e0be837ef460fd46c9cbfee1a60ca3f379c7
Author: Dave Schaefer <dave.schaefer at gmail.com>
Date:   Sat May 31 21:21:12 2014 -0600

    Pers_keypress - Convert == to ===
---
 plugin/chrome/content/common.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/plugin/chrome/content/common.js b/plugin/chrome/content/common.js
index cd74137..b215e65 100644
--- a/plugin/chrome/content/common.js
+++ b/plugin/chrome/content/common.js
@@ -309,7 +309,7 @@ var Pers_keypress = {
         if (key) {
 
             // let the Esc key close the window
-            if (key == Pers_keypress.ESC_KEYCODE) {
+            if (key === Pers_keypress.ESC_KEYCODE) {
                 window.close();
             }
         }

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



More information about the Pkg-mozext-commits mailing list