Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed typo in textarea plugin, now it works in IE

  • Loading branch information...
commit b5bb414b77137c54e564d7038522cf521871868f 1 parent 9949ca0
@sergeche sergeche authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  plugins/textarea/zen_editor.js
View
2  plugins/textarea/zen_editor.js
@@ -330,7 +330,7 @@ var zen_editor = (function(){
//Attach the function with the event
if (doc.addEventListener) doc.addEventListener(key_event, runAction, false);
- else if(doc.attachEvent) ele.attachEvent('on' + key_event, runAction);
+ else if(doc.attachEvent) doc.attachEvent('on' + key_event, runAction);
else doc['on' + key_event] = func;
options = copyOptions();
Please sign in to comment.
Something went wrong with that request. Please try again.