Skip to content

Commit

Permalink
Update counter.js
Browse files Browse the repository at this point in the history
  • Loading branch information
mediabeastnz authored Apr 21, 2017
1 parent e572058 commit a17a238
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion javascript/counter.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
// prevent new lines or tabs
this.val(this.val().replace(/(\r\n|\n|\r)/g,""));
// move cursor back to original postion after trimming
e.target.selectionEnd = position;
//e.target.selectionEnd = position;
},
onmatch: function(){
if (!$('#' + this.attr('id') + 'Stats').length) {
Expand Down

0 comments on commit a17a238

Please sign in to comment.