mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-14 04:04:03 +00:00
javascript load for user_biography
This commit is contained in:
parent
ac0659d9c6
commit
2b1aeafcd8
2 changed files with 1 additions and 10 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue