source: documentation/trunk/packages/plugins/greenstonedocs/script.js@ 30114

Last change on this file since 30114 was 30114, checked in by jmt12, 9 years ago

Updated Greenstone customizations for Detritus, but rearranged to move into separate plugin. Initial checkin of plugins, template, special wiki pages.

File size: 429 bytes
Line 
1//*****************************************************************************
2// Copyright 2015 Greenstone Labs, Waikato University
3//*****************************************************************************
4
5jQuery(document).ready(function () {
6 jQuery("span.undercaption").each(
7 function( index ) {
8 var content = jQuery(this).text();
9 jQuery(this).text(content.replace(/%!-- id:\d+ --%/, ""));
10 }
11 );
12});
Note: See TracBrowser for help on using the repository browser.