aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorEhsan Akhgari <ehsan@mozilla.com>2010-05-31 00:16:25 -0400
committerEhsan Akhgari <ehsan@mozilla.com>2010-05-31 00:16:25 -0400
commit147d22ec1d1017131292cb537f9a35de47c9cbb9 (patch)
tree1752390c8b06cd653e656772f11550ca219eeb45 /lib
parent7b6830403857064b47e70e040918fbf5487b6dcb (diff)
downloadbugzilla-triage-147d22ec1d1017131292cb537f9a35de47c9cbb9.tar.gz
Fix a syntax error
Diffstat (limited to 'lib')
-rw-r--r--lib/clipboard.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/clipboard.js b/lib/clipboard.js
index bf77515..506de03 100644
--- a/lib/clipboard.js
+++ b/lib/clipboard.js
@@ -42,7 +42,7 @@ var setMethod = exports.setMethod = function setMethod(content, flavor) {
flavor != "html") {
throw new Error("invalid flavor passed to clipboard.set");
}
- flavor = flavor == "plain" ? "text/unicode", "text/html";
+ flavor = (flavor == "plain" ? "text/unicode" : "text/html");
var clipboard = Cc["@mozilla.org/widget/clipboard;1"].
getService(Ci.nsIClipboard);