aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
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);