You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
TS-Website/js/script.js

18 lines
598 B

$(document).ready(function () {
"use strict";
// Bootstrap tooltips initialization
$('[data-toggle="tooltip"]').tooltip({
"html": true
});
// Add "Show more" button to news panels
$('.news-body').readmore({
speed: 500,
collapsedHeight: 300,
moreLink: '<button type="button" class="btn btn-dark"><i class="fa fa-plus-circle" aria-hidden="true"></i> ' + textShowMore + '</button>',
lessLink: '<button type="button" class="btn btn-dark"><i class="fa fa-minus-circle" aria-hidden="true"></i> ' + textShowLess + '</button>'
});
9 years ago
});