From 41ca1c66923db9cf8e50a8cdc767f667c2d621d3 Mon Sep 17 00:00:00 2001 From: xavijam Date: Mon, 18 Jan 2016 16:37:23 +0100 Subject: [PATCH] Removed unnecessary commented code --- styleguide/_template.html | 2 -- 1 file changed, 2 deletions(-) diff --git a/styleguide/_template.html b/styleguide/_template.html index 6617217..3974bfe 100644 --- a/styleguide/_template.html +++ b/styleguide/_template.html @@ -23,7 +23,6 @@ // Click on link with subheadings j('#styleguide-menu .submenulink').click(function(event) { - // event.preventDefault(); var jqCurSubmenu = j('[data-submenu="' + j(this).data('section') + '"]'); var isCurSubmenuOn = jqCurSubmenu.hasClass('on'); j('#styleguide-menu .on').removeClass('on'); @@ -36,7 +35,6 @@ // Click on link without subheadings j('#styleguide-menu .sectionlink').click(function(event) { - // event.preventDefault(); j('#styleguide-menu .on').removeClass('on'); j(this).addClass('on'); showSection(j(this).data('section'));