Lint test failed --> edited line length
This commit is contained in:
parent
a22ae2818c
commit
f2e471597d
@ -66,8 +66,18 @@ window._qutebrowser.scroll = (function() {
|
|||||||
var pos = {
|
var pos = {
|
||||||
"px": {"x": window.scrollX, "y": window.scrollY},
|
"px": {"x": window.scrollX, "y": window.scrollY},
|
||||||
"scroll": {
|
"scroll": {
|
||||||
"width": Math.max(body.scrollWidth, body.offsetWidth, elem.scrollWidth, elem.offsetWidth),
|
"width": Math.max(
|
||||||
"height": Math.max(body.scrollHeight, body.offsetHeight, elem.scrollHeight, elem.offsetHeight),
|
body.scrollWidth,
|
||||||
|
body.offsetWidth,
|
||||||
|
elem.scrollWidth,
|
||||||
|
elem.offsetWidth
|
||||||
|
),
|
||||||
|
"height": Math.max(
|
||||||
|
body.scrollHeight,
|
||||||
|
body.offsetHeight,
|
||||||
|
elem.scrollHeight,
|
||||||
|
elem.offsetHeight
|
||||||
|
),
|
||||||
},
|
},
|
||||||
"inner": {
|
"inner": {
|
||||||
"width": window.innerWidth,
|
"width": window.innerWidth,
|
||||||
|
Loading…
Reference in New Issue
Block a user