JS Formatting
This commit is contained in:
parent
9550cf65f7
commit
0716316fa2
2 changed files with 2 additions and 0 deletions
|
@ -1,4 +1,5 @@
|
||||||
/* global $ */
|
/* global $ */
|
||||||
|
|
||||||
require('./utils.js');
|
require('./utils.js');
|
||||||
|
|
||||||
var React = require('react');
|
var React = require('react');
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
/* global $ */
|
/* global $ */
|
||||||
|
|
||||||
$(function() { // https://css-tricks.com/snippets/jquery/smooth-scrolling/
|
$(function() { // https://css-tricks.com/snippets/jquery/smooth-scrolling/
|
||||||
$('a[href*=#]:not([href=#])').click(function() {
|
$('a[href*=#]:not([href=#])').click(function() {
|
||||||
if (location.pathname.replace(/^\//, '') === this.pathname.replace(/^\//, '')
|
if (location.pathname.replace(/^\//, '') === this.pathname.replace(/^\//, '')
|
||||||
|
|
Reference in a new issue