Fix jquery selector
This commit is contained in:
@@ -8,8 +8,7 @@ $(document).ready(function () {
|
||||
});
|
||||
|
||||
// Smooth scrolling
|
||||
/*
|
||||
$('a[href*=#]:not([href=#])').click(function () {
|
||||
$('a[href*="#"]:not([href="#"])').click(function () {
|
||||
if (location.pathname.replace(/^\//, '') == this.pathname.replace(/^\//, '') && location.hostname == this.hostname) {
|
||||
var target = $(this.hash);
|
||||
target = target.length ? target : $('[name=' + this.hash.slice(1) + ']');
|
||||
@@ -21,5 +20,4 @@ $(document).ready(function () {
|
||||
}
|
||||
}
|
||||
});
|
||||
*/
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user