Skip to content

Commit

Permalink
ace quick fix for Chrome 53
Browse files Browse the repository at this point in the history
  • Loading branch information
hoge1e3 committed Aug 10, 2016
1 parent abd4cf7 commit 7da745d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions www/js/lib/ace-noconflict/ace.js
Expand Up @@ -34,7 +34,7 @@
* @param payload a function to call with (require, exports, module) params
*/

var isChrome53=navigator.userAgent.indexOf("Chrome/53")>=0;
var isChrome53=navigator.userAgent.indexOf("Chrome/53")>=0;//added by @hoge1e3
(function() {
var ACE_NAMESPACE = "ace";

Expand Down Expand Up @@ -2276,7 +2276,7 @@ var TextInput = function(parentNode, host) {
if (e.type == "compositionend" && c.range) {
host.selection.setRange(c.range);
}
if (isChrome53) onInput();
if (isChrome53) onInput();//added by @hoge1e3
};


Expand Down

0 comments on commit 7da745d

Please sign in to comment.