remove extraneous line
authorKevin Dangoor <kdangoor@mozilla.com>
Fri, 18 Sep 2009 10:36:47 -0400
changeset 2665 643e0c4fd43d0ac82b7f0f386ddc7bf7586bac47
parent 2664 2253402e2b3b49c7bf252c5c60746d8e07d1f5db
child 2667 52883c04c34088978399cc6ba9f9fafe85851105
child 2669 2718c2601e9ffad5a086320a342d52071e24b3e1
push id1129
push userkdangoor@mozilla.com
push dateFri, 18 Sep 2009 14:44:58 +0000
remove extraneous line
frontend/js/bespin/editor/clipboard.js
--- a/frontend/js/bespin/editor/clipboard.js
+++ b/frontend/js/bespin/editor/clipboard.js
@@ -89,18 +89,18 @@ dojo.mixin(bespin.editor.clipboard, {
 // copynpaster text input, and then the real event does its thing and we focus back
 
 dojo.declare("bespin.editor.clipboard.DOMEvents", null, {
     install: function(editor) {
         // * Defensively stop doing copy/cut/paste magic if you are in the command line
         var stopAction = function(e) {
             return e.target.id == "command";
         };
-        var editorHasFocus = function() { return true;
-            return bespin.get('editor').focus;
+        var editorHasFocus = function() { 
+            return true;
         };
         
         var focuser = this.focuser = bespin.editor.clipboard.createHiddenTextarea();
         var onfocuser = false;
         
         // Copy
         this.beforecopyHandle = dojo.connect(document.body, "onbeforecopy", function(e) {
             if ((!editorHasFocus() && !onfocuser) || stopAction(e)) return;