Fix back-to-top scroller widget.
This commit is contained in:
parent
f479a9a144
commit
4d666e3f5b
1 changed files with 2 additions and 2 deletions
|
|
@ -5,7 +5,7 @@
|
||||||
this.subscribe("widget/ready", function(evt, button) {
|
this.subscribe("widget/ready", function(evt, button) {
|
||||||
$.extend(self, {
|
$.extend(self, {
|
||||||
button: button,
|
button: button,
|
||||||
body: $(document.body),
|
body: $("html, body"),
|
||||||
window: $(window)
|
window: $(window)
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
@ -29,4 +29,4 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
Diaspora.Widgets.BackToTop = BackToTop;
|
Diaspora.Widgets.BackToTop = BackToTop;
|
||||||
})();
|
})();
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue