Permalink
Browse files

Add missing argument in event listener

  • Loading branch information...
1 parent 9190a49 commit 2c698d87ec9580be2ec94a676015ec6636282e83 @benbro benbro committed Jan 5, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/codemirror.js
View
@@ -1327,7 +1327,7 @@ window.CodeMirror = (function() {
on(d.scroller, "dragover", drag_);
on(d.scroller, "drop", operation(cm, onDrop));
}
- on(d.scroller, "paste", function(){
+ on(d.scroller, "paste", function(e){
if (eventInWidget(d, e)) return;
focusInput(cm);
fastPoll(cm);

0 comments on commit 2c698d8

Please sign in to comment.