diff --git a/src/main/content/_assets/js/tabs.js b/src/main/content/_assets/js/tabs.js index 9e142f8523..9967393a90 100644 --- a/src/main/content/_assets/js/tabs.js +++ b/src/main/content/_assets/js/tabs.js @@ -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++) { - class_name = class_list[i]; + var 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;