Skip to content

Commit

Permalink
Fixed jumping of content
Browse files Browse the repository at this point in the history
  • Loading branch information
SteveSamJacob19 authored and natalie-bernhard committed Mar 25, 2024
1 parent dd1eff0 commit e1e4290
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/content/_assets/js/tabs.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ $(document).ready(function() {
// get class of clicked tab and class of its respective content section
var class_list = this.classList;
for (var i = 0; i < class_list.length; i++) {
var class_name = class_list[i];
class_name = class_list[i];
if (class_name !== "tab_link" && class_name.indexOf("_link") > -1) {
var tab_content = "." + class_name.replace("link", "section");
var tab_class = "." + class_name;
Expand Down

0 comments on commit e1e4290

Please sign in to comment.