Fuhrmann
Well-known member
Is there a way to change the charlimit of the XenForo.StatusEditor by extending or something?
This is how it is:
This is how it is:
Rich (BB code):
__construct: function($input)
{
this.$input = $input
.keyup($.context(this, 'update'))
.keydown($.context(this, 'preventNewline'));
this.$counter = $(this.$input.data('statusEditorCounter'));
if (!this.$counter.length)
{
this.$counter = $('<span />').insertAfter(this.$input);
}
this.$counter
.addClass('statusEditorCounter')
.text('0');
this.$form = this.$input.closest('form').bind(
{
AutoValidationComplete: $.context(this, 'saveStatus')
});
this.charLimit = 140; // Twitter max characters
this.charCount = 0; // number of chars currently in use
this.update();
},