X-Git-Url: https://git.ktnx.net/?p=icedeb.git;a=blobdiff_plain;f=chrome%2Fcontent%2Ficedeb.js;h=a6d00da93020599b903f7f0d38e7359d6c595cbc;hp=19cf1207f1a64fc3dc798c94ddb04d43353270ee;hb=0acd8e09107de436334c888c9b5f3d1a2f76dbd6;hpb=a79510e5d4fd32b8586a2a64afb52b9774b7757f diff --git a/chrome/content/icedeb.js b/chrome/content/icedeb.js index 19cf120..a6d00da 100644 --- a/chrome/content/icedeb.js +++ b/chrome/content/icedeb.js @@ -8,6 +8,9 @@ IceDeb = { .createInstance(Components.interfaces.nsITransferable); if (!trans) return null; + if (typeof(trans.init) === 'function') + trans.init(null); + trans.addDataFlavor("text/unicode"); clip.getData(trans, clip.supportsSelectionClipboard()