v 1.3.5 - Christmas theme! 🎄
This commit is contained in:
23
js/script.js
23
js/script.js
@@ -1,10 +1,17 @@
|
||||
$(function () {
|
||||
$('[data-toggle="tooltip"]').tooltip({"html": true})
|
||||
})
|
||||
$(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>'
|
||||
});
|
||||
|
||||
$('.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>'
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user