diff options
author | Matěj Cepl <mcepl@redhat.com> | 2010-06-22 09:49:01 +0200 |
---|---|---|
committer | Matěj Cepl <mcepl@redhat.com> | 2010-06-22 09:49:01 +0200 |
commit | d4a81c5de43ba4eed359ef0e25ed24b7399de3d5 (patch) | |
tree | a0683376f9368551511a440acb20f01f95548f12 /lib/util.js | |
parent | 7f2711d924220659fed80f547e52509d65154e7a (diff) | |
download | bugzilla-triage-d4a81c5de43ba4eed359ef0e25ed24b7399de3d5.tar.gz |
Make skipping over attachment.cgi work and more cleanup
- improve regexp in main.js / skipThisPage
- fix util.notification to not crash
- remove non-ASCII characters from package.json
Diffstat (limited to 'lib/util.js')
-rw-r--r-- | lib/util.js | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/util.js b/lib/util.js index b832ac0..02fd476 100644 --- a/lib/util.js +++ b/lib/util.js @@ -62,12 +62,12 @@ exports.notification = function notification(msg) { if (typeof(msg) === "object") { body = msg.body; - } - if ("title" in msg) { - title = msg.title; - } - if ("icon" in msg) { - icon = msg.icon; + if ("title" in msg) { + title = msg.title; + } + if ("icon" in msg) { + icon = msg.icon; + } } try { var classObj = Cc["@mozilla.org/alerts-service;1"]; |