Skip to content

Commit

Permalink
fix(textAngularSetup): Fix wordcount and charcount display with large…
Browse files Browse the repository at this point in the history
… numbers.
  • Loading branch information
SimeonC authored and SimeonC committed Oct 23, 2014
1 parent 80fe188 commit 42f1e34
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/textAngularSetup.js
Expand Up @@ -644,7 +644,7 @@ angular.module('textAngularSetup', [])
}
});
taRegisterTool('wordcount', {
display: '<div id="toolbarWC" style="display:block; width:100px;">Words:{{wordcount}}</div>',
display: '<div id="toolbarWC" style="display:block; min-width:100px;">Words:{{wordcount}}</div>',
disabled: true,
wordcount: 0,
activeState: function(){ // this fires on keyup
Expand All @@ -664,7 +664,7 @@ angular.module('textAngularSetup', [])
}
});
taRegisterTool('charcount', {
display: '<div id="toolbarCC" style="display:block; width:120px;">Characters:{{charcount}}</div>',
display: '<div id="toolbarCC" style="display:block; min-width:120px;">Characters:{{charcount}}</div>',
disabled: true,
charcount: 0,
activeState: function(){ // this fires on keyup
Expand Down

0 comments on commit 42f1e34

Please sign in to comment.