Skip to content

Commit

Permalink
Add tutor mode in Q&A panel
Browse files Browse the repository at this point in the history
  • Loading branch information
patricksptang committed Sep 16, 2024
1 parent a04f734 commit d07f287
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions step-web/src/main/webapp/js/backbone/views/view_examples.js
Original file line number Diff line number Diff line change
Expand Up @@ -251,8 +251,8 @@ var ExamplesView = Backbone.View.extend({
'</div>' +
'</div>' +

'<div class="accordion-row" data-row="4">' +
'<h5 class="accordion-heading stepButton">Site Guide' +
'<div class="accordion-row keyboard_shortcut" data-row="4">' +
'<h5 class="accordion-heading stepButton">Additional information' +
'<a class="plusminus glyphicon glyphicon-triangle-right"></a>' +
'</h5>' +
'<div class="accordion-body">' +
Expand Down Expand Up @@ -368,8 +368,8 @@ var ExamplesView = Backbone.View.extend({
}, 700);
}
}
// if (step.touchDevice) $(".keyboard_shortcut").hide();
// else $(".keyboard_shortcut").show();
if (step.touchDevice) $(".keyboard_shortcut").hide();
else $(".keyboard_shortcut").show();
},
toggleAccordion: function (index, accordionCount) {
var query = ".accordion-row[data-row=" + index + "]";
Expand Down

0 comments on commit d07f287

Please sign in to comment.