2014-02-05 17:30:30 +01:00
|
|
|
$(document).ready(function() {
|
2014-01-24 15:01:33 +01:00
|
|
|
|
2016-01-21 12:36:23 +01:00
|
|
|
// Adapt some class to fit Bootstrap theme
|
|
|
|
$("div.message-positive").addClass("alert-success");
|
|
|
|
$("div.message-warning").addClass("alert-warning");
|
|
|
|
$("div.message-negative").addClass("alert-danger");
|
2014-01-24 18:16:41 +01:00
|
|
|
|
2016-01-21 12:36:23 +01:00
|
|
|
$("table.info").addClass("table");
|
2014-01-24 18:16:41 +01:00
|
|
|
|
2016-01-21 12:36:23 +01:00
|
|
|
$(".notifCheck").addClass("checkbox");
|
2014-06-05 18:16:58 +02:00
|
|
|
|
2016-01-21 12:36:23 +01:00
|
|
|
// Collapse menu on click
|
|
|
|
$('.nav a').on('click', function() {
|
|
|
|
if ($('.navbar-toggle').css('display') != 'none') {
|
|
|
|
$(".navbar-toggle").trigger("click");
|
|
|
|
}
|
|
|
|
});
|
2014-12-03 15:55:22 +01:00
|
|
|
|
2016-01-21 12:36:23 +01:00
|
|
|
});
|