Skip to content

Commit c25880a

Browse files
authored
Merge pull request #347 from lalithr95/patch-1
remove commented code
2 parents 8fbbe2d + 9064a5a commit c25880a

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

js/script.js

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -14,18 +14,3 @@ $(function() {
1414
$('.toc-list').toggleClass('is-shown');
1515
});
1616
});
17-
18-
//$(function() {
19-
// $('a[href*="#"]:not([href="#"])').click(function() {
20-
// if (location.pathname.replace(/^\//,'') == this.pathname.replace(/^\//,'') && location.hostname == this.hostname) {
21-
// var target = $(this.hash);
22-
// target = target.length ? target : $('[name=' + this.hash.slice(1) +']');
23-
// if (target.length) {
24-
// $('html, body').animate({
25-
// scrollTop: target.offset().top
26-
// }, 1000);
27-
// return false;
28-
// }
29-
// }
30-
// });
31-
//});

0 commit comments

Comments
 (0)