We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9048db1 commit 07b01e3Copy full SHA for 07b01e3
js/ditto.js
@@ -43,7 +43,7 @@ function initialize() {
43
var newScroll = $(document).scrollTop(),
44
diff = newScroll-lastScroll;
45
treshold = (treshold+diff>headerHeight) ? headerHeight : treshold+diff;
46
- treshold = (treshold < 0) ? 10 : treshold;
+ treshold = (treshold < 0) ? -10 : treshold;
47
48
$('#flip').css('bottom', (-treshold)+'px');
49
0 commit comments