[Pkg-mozext-commits] [tabmixplus] 12/61: Typo in changeset 1298b3f57b58, type of selectedItem.value is string

David Prévot taffit at moszumanska.debian.org
Fri Aug 28 19:09:17 UTC 2015


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

taffit pushed a commit to branch master
in repository tabmixplus.

commit 145d5d36e5310e3bafafa631d0cdfa48d954c5e0
Author: onemen <tabmix.onemen at gmail.com>
Date:   Mon Jul 13 16:14:20 2015 +0300

    Typo in changeset 1298b3f57b58, type of selectedItem.value is string
---
 chrome/content/preferences/session.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/chrome/content/preferences/session.js b/chrome/content/preferences/session.js
index d69952e..6331413 100644
--- a/chrome/content/preferences/session.js
+++ b/chrome/content/preferences/session.js
@@ -132,7 +132,7 @@ var gSessionPane = {
 
   convertSession: function () {
     var browserWindow = Tabmix.getTopWin();
-    if ($("chooseFile").selectedItem.value === 0)
+    if ($("chooseFile").selectedItem.value == "0")
       browserWindow.TabmixConvertSession.selectFile(window);
     else
       browserWindow.TabmixConvertSession.convertFile();

-- 
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