mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-21 07:37:58 +01:00
Add cache module. Cleanup help and DTD generation. Fix :help version generation issues. Fix other assorted issues.
This commit is contained in:
@@ -1291,6 +1291,10 @@ var Buffer = Module("buffer", {
|
||||
if (!DOM(elem).isScrollable(horizontal ? "horizontal" : "vertical"))
|
||||
return false;
|
||||
|
||||
return this.canScroll(elem, dir, horizontal);
|
||||
},
|
||||
|
||||
canScroll: function canScroll(elem, dir, horizontal) {
|
||||
let pos = "scrollTop", size = "clientHeight", max = "scrollHeight", layoutSize = "offsetHeight",
|
||||
overflow = "overflowX", border1 = "borderTopWidth", border2 = "borderBottomWidth";
|
||||
if (horizontal)
|
||||
|
||||
Reference in New Issue
Block a user