Skip to content

Commit 2734588

Browse files
committed
- Console error: removed dot after URL
- Console error: removed dot after URL - Fixed bug: disabling scroll-behavior for those using 3rd party smooth scroll libraries
1 parent 8d0c8fa commit 2734588

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/fullpage.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1898,6 +1898,8 @@
18981898
var scrollSettings = getScrollSettings(v.dtop);
18991899
FP.test.top = -v.dtop + 'px';
19001900

1901+
css($htmlBody, {'scroll-behavior': 'unset'});
1902+
19011903
scrollTo(scrollSettings.element, scrollSettings.options, options.scrollingSpeed, function(){
19021904
if(options.scrollBar){
19031905

@@ -3453,7 +3455,7 @@
34533455

34543456
if(!isOK){
34553457
showError('error', 'Fullpage.js version 3 has changed its license to GPLv3 and it requires a `licenseKey` option. Read about it here:');
3456-
showError('error', 'https://github.com/alvarotrigo/fullPage.js#options.');
3458+
showError('error', 'https://github.com/alvarotrigo/fullPage.js#options');
34573459
}
34583460
else if(l && l.length < 20){
34593461
console.warn('%c This website was made using fullPage.js slider. More info on the following website:', msgStyle);

0 commit comments

Comments
 (0)