javascript load for user_biography

This commit is contained in:
Stella Rouzi 2016-05-01 19:16:19 +03:00
parent ac0659d9c6
commit 2b1aeafcd8
2 changed files with 1 additions and 10 deletions

View file

@ -1,13 +1,4 @@
$(function () {
/**
* Show the number of words in the biography text field when opening the
* profile edit page
*/
$(document).ready(function(){
word_count($("#user_biography")[0], 'bio_length', 150);
});
/**
* Update the number of words in the biography text field every time the user
* releases a key on the keyboard