Skip to content

Commit 0b2cbb2

Browse files
Remove duplicate event listener code
1 parent 0d1c6b8 commit 0b2cbb2

File tree

1 file changed

+0
-7
lines changed
  • src/dotnet/APIView/APIViewWeb/Client/src

1 file changed

+0
-7
lines changed

src/dotnet/APIView/APIViewWeb/Client/src/navbar.ts

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,5 @@
1-
import Split from "split.js";
21
import { updatePageSettings } from "./helpers";
32

4-
addEventListener("load", () => {
5-
$(".nav-list-toggle").click(function () {
6-
$(this).parents(".nav-list-group").first().toggleClass("nav-list-collapsed");
7-
});
8-
});
9-
103
$(() => {
114
const themeSelector = $( '#theme-selector' );
125

0 commit comments

Comments
 (0)