Skip to content

Commit 097bf79

Browse files
author
Vladimir Kudinov
committed
Hot fix
1 parent 384b380 commit 097bf79

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dist/scrollissimo.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/scrollissimo.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@
290290
windowHeight = getWindowHeight();
291291
});
292292

293-
if((module||{}).exports){
293+
if(typeof module === 'object'){
294294
module.exports = Scrollissimo;
295295
}else{
296296
win.Scrollissimo = Scrollissimo;

0 commit comments

Comments
 (0)