Skip to content

Commit c320152

Browse files
committed
Removed check for URL setting
1 parent ab611a1 commit c320152

10 files changed

+18
-18
lines changed

dist/smooth-scroll.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* smooth-scroll v15.0.1: Animate scrolling to anchor links
2+
* smooth-scroll v15.0.2: Animate scrolling to anchor links
33
* (c) 2018 Chris Ferdinandi
44
* MIT License
55
* http://github.com/cferdinandi/smooth-scroll
@@ -297,7 +297,7 @@
297297
var setHistory = function (options) {
298298

299299
// Make sure this should run
300-
if (!history.replaceState || !options.updateURL || history.state) return;
300+
if (!history.replaceState || history.state) return;
301301

302302
// Get the hash to use
303303
var hash = window.location.hash;

dist/smooth-scroll.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/smooth-scroll.polyfills.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* smooth-scroll v15.0.1: Animate scrolling to anchor links
2+
* smooth-scroll v15.0.2: Animate scrolling to anchor links
33
* (c) 2018 Chris Ferdinandi
44
* MIT License
55
* http://github.com/cferdinandi/smooth-scroll
@@ -367,7 +367,7 @@ if (window.Element && !Element.prototype.closest) {
367367
var setHistory = function (options) {
368368

369369
// Make sure this should run
370-
if (!history.replaceState || !options.updateURL || history.state) return;
370+
if (!history.replaceState || history.state) return;
371371

372372
// Get the hash to use
373373
var hash = window.location.hash;

0 commit comments

Comments
 (0)