Skip to content
This repository has been archived by the owner on Jan 19, 2022. It is now read-only.

Commit

Permalink
I have no idea what this was supposed to be doing
Browse files Browse the repository at this point in the history
Having the character counter set at a fixed width seems completely ridiculous, and I can only imagine the plug-in author had some reason at some point. Anyway, removing the inline styling works fine for our needs, and the counter no longer breaks the form when it gets too small.
  • Loading branch information
andrewhayward committed Dec 5, 2012
1 parent c106cdf commit dd3af23
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -23,14 +23,8 @@


$("<div class='charleft'>&nbsp;</div>").insertAfter(container); $("<div class='charleft'>&nbsp;</div>").insertAfter(container);


//create charleft css
var charLeftCss = {
'width' : container.width()
};

var charLeftInfo = getNextCharLeftInformation(container); var charLeftInfo = getNextCharLeftInformation(container);
charLeftInfo.addClass(options.originalStyle); charLeftInfo.addClass(options.originalStyle);
charLeftInfo.css(charLeftCss);


var numInput = 0; var numInput = 0;
var maxCharacters = options.maxCharacterSize; var maxCharacters = options.maxCharacterSize;
Expand Down

0 comments on commit dd3af23

Please sign in to comment.