fixes abstract count not showing properly
This commit is contained in:
parent
cc66027220
commit
dbad8808a0
1 changed files with 7 additions and 7 deletions
|
|
@ -125,6 +125,13 @@ $(function () {
|
|||
},
|
||||
5)
|
||||
});
|
||||
|
||||
/* Count the proposal abstract length */
|
||||
$("#event_abstract").bind('keyup', function() {
|
||||
var $selected = $("#event_event_type_id option:selected")
|
||||
var max = $selected.data("max-words");
|
||||
word_count(this, 'abstract-count', max);
|
||||
} );
|
||||
});
|
||||
|
||||
function get_color() {
|
||||
|
|
@ -165,13 +172,6 @@ $("#event_event_type_id").change(function () {
|
|||
})
|
||||
.trigger('change');
|
||||
|
||||
/* Count the proposal abstract length */
|
||||
$("#event_abstract").bind('keyup', function() {
|
||||
var $selected = $("#event_event_type_id option:selected")
|
||||
var max = $selected.data("max-words");
|
||||
word_count(this, 'abstract-count', max);
|
||||
} );
|
||||
|
||||
/* Set the defaults for DataTables initialisation */
|
||||
$.extend( true, $.fn.dataTable.defaults, {
|
||||
"sDom": "<'row-fluid'<'span6'l><'span6'f>r>t<'row-fluid'<'span6'i><'span6'p>>",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue