<!-- end html templates -->
<script>
- $('.collapse').removeClass('in');
-
$(window).ready(function() {
+ $('.collapse').removeClass('in');
+ $('.program-session-room-details button').show();
+
init_toggle_all();
$('.session-desc')
});
function init_toggle_all(reinit=false) {
- var id = '.program-session-details-toggle-all button';
+ var block = '.program-session-details-toggle-all';
// on click init.
if (!reinit)
toggle_all_click_init();
// positioning.
- window.toggle_all_pos = $(id).offset();
+ window.toggle_all_pos = $(block).offset();
position_toggle_all();
+ $(block).show();
}
function reinit_toggle_all() {