diff --git a/docs/branding/footer.html.in b/docs/branding/footer.html.in index b27cba9..ee7d55c 100644 --- a/docs/branding/footer.html.in +++ b/docs/branding/footer.html.in @@ -13,7 +13,7 @@ $(function () { $("#toc a").click(function(event) { $("#tocbutton").click(); }) - $("#tocbutton").click(function() { + $("#tocbutton").click(function(event) { var target = $("#toc"); if (target.css("display") !== "block") { $("body").bind("click.tocCloser", function(event) { @@ -35,7 +35,7 @@ $(function () { $("#api a").click(function(event) { $("#apibutton").click(); }) - $("#apibutton").click(function() { + $("#apibutton").click(function(event) { var target = $("#api"); if (target.css("display") !== "block") { $("body").bind("click.apiCloser", function(event) {