Skip to content

Commit

Permalink
Drop Chrome <=23 workaround in input listener
Browse files Browse the repository at this point in the history
  • Loading branch information
theefer committed Feb 26, 2014
1 parent c20cd7a commit c3cb3c4
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions src/scribe.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,15 +56,7 @@ define([
* `document.execCommand('bold')`). We can't wrap a transaction around
* these actions, so instead we run the transaction in this event.
*/
/**
* Chrome (<=23): The input event is triggered after the input happens
* but before the caret position is changed.
* Need to reproduce: http://jsbin.com/iWetuGEs/1/edit
* TODO: could this cause other issues?
*/
setTimeout(function () {
this.transactionManager.run();
}.bind(this), 0);
this.transactionManager.run();
}.bind(this), false);

/**
Expand Down

0 comments on commit c3cb3c4

Please sign in to comment.