Permalink
Browse files

try to fix opera `space` bug

  • Loading branch information...
1 parent 2f674b6 commit 78e0854aef20a78d57c677a061d5636627f245a2 @troex troex committed Jun 21, 2012
Showing with 1 addition and 5 deletions.
  1. +1 −5 src/elrte/js/elRTE.js
View
@@ -247,11 +247,7 @@ elRTE = function(target, opts) {
self.lastKey = e.keyCode;
self.typing = false;
}
-
- if (e.keyCode == 32 && $.browser.opera) {
- self.selection.insertNode(self.doc.createTextNode(" "));
- return false
- }
+
})
.bind('paste', function(e) {
if (!self.options.allowPaste) {

0 comments on commit 78e0854

Please sign in to comment.