diff --git a/views/account.jade b/views/account.jade index c89c746b72..6bb67d5d98 100644 --- a/views/account.jade +++ b/views/account.jade @@ -95,20 +95,3 @@ block content p: a.text-danger(href='/account/unlink/') Unlink your GitHub account else p: a(href='/auth/github') Link your GitHub account - - - script - $('#myTab a').click(function (e) { - e.preventDefault() - $(this).tab('show') - }); - - // store the currently selected tab in the hash value - $("ul.nav-tabs > li > a").on("shown.bs.tab", function (e) { - var id = $(e.target).attr("href").substr(1); - window.location.hash = id; - }); - - // on load of the page: switch to the currently selected tab - var hash = window.location.hash; - $('#myTab a[href="' + hash + '"]').tab('show'); \ No newline at end of file