fixed bug which did not increment abstract word count properly
This commit is contained in:
parent
cc66027220
commit
784a45a1fb
1 changed files with 1 additions and 1 deletions
|
|
@ -169,7 +169,7 @@ $("#event_event_type_id").change(function () {
|
||||||
$("#event_abstract").bind('keyup', function() {
|
$("#event_abstract").bind('keyup', function() {
|
||||||
var $selected = $("#event_event_type_id option:selected")
|
var $selected = $("#event_event_type_id option:selected")
|
||||||
var max = $selected.data("max-words");
|
var max = $selected.data("max-words");
|
||||||
word_count(this, 'abstract-count', max);
|
word_count($('#event_abstract').get(0), 'abstract-count', max);
|
||||||
} );
|
} );
|
||||||
|
|
||||||
/* Set the defaults for DataTables initialisation */
|
/* Set the defaults for DataTables initialisation */
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue