$(function () {
    $('[data-toggle="tooltip"]').tooltip();
});

function toggleChevron(e) {
    $(".collapse-button").toggleClass('glyphicon-chevron-down glyphicon-chevron-up');
}
$('.collapse').on('hidden.bs.collapse', toggleChevron);
$('.collapse').on('shown.bs.collapse', toggleChevron);

$(function () {
    $('[data-toggle="tooltip"]').tooltip();
});

$(function () {
    $(".collapse-button").click(function () {
        $(".collapse-button").toggleClass("glyphicon-chevron-down glyphicon-chevron-up")
    })
});
--- 
+++ 
@@ -2,8 +2,8 @@
     $('[data-toggle="tooltip"]').tooltip();
 });
 
-function toggleChevron(e) {
-    $(".collapse-button").toggleClass('glyphicon-chevron-down glyphicon-chevron-up');
-}
-$('.collapse').on('hidden.bs.collapse', toggleChevron);
-$('.collapse').on('shown.bs.collapse', toggleChevron);
+$(function () {
+    $(".collapse-button").click(function () {
+        $(".collapse-button").toggleClass("glyphicon-chevron-down glyphicon-chevron-up")
+    })
+});
Make collapse button respond better to repeated clicks
