NIHVIVO-1315: Added jQuery HTML Truncator for for showing "more"/"less" content with core:overview data property
This commit is contained in:
parent
6139bf24ef
commit
1343472ca0
3 changed files with 111 additions and 1 deletions
8
productMods/js/individual/individualUtils.js
Normal file
8
productMods/js/individual/individualUtils.js
Normal file
|
@ -0,0 +1,8 @@
|
|||
/* $This file is distributed under the terms of the license in /doc/license.txt$ */
|
||||
|
||||
$(document).ready(function(){
|
||||
|
||||
// "more"/"less" HTML truncator for showing more or less content in data property core:overview
|
||||
$('.individual-overview').truncate({max_length: 500});
|
||||
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue