diff options
author | Ehsan Akhgari <ehsan@mozilla.com> | 2010-05-31 00:16:25 -0400 |
---|---|---|
committer | Ehsan Akhgari <ehsan@mozilla.com> | 2010-05-31 00:16:25 -0400 |
commit | 147d22ec1d1017131292cb537f9a35de47c9cbb9 (patch) | |
tree | 1752390c8b06cd653e656772f11550ca219eeb45 | |
parent | 7b6830403857064b47e70e040918fbf5487b6dcb (diff) | |
download | bugzilla-triage-147d22ec1d1017131292cb537f9a35de47c9cbb9.tar.gz |
Fix a syntax error
-rw-r--r-- | lib/clipboard.js | 2 |
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); |