From f2e471597de49b419be6ada5dd1e8f7bb76f2bb7 Mon Sep 17 00:00:00 2001 From: Spreadyy Date: Tue, 27 Sep 2016 23:24:12 +0200 Subject: [PATCH] Lint test failed --> edited line length --- qutebrowser/javascript/scroll.js | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/qutebrowser/javascript/scroll.js b/qutebrowser/javascript/scroll.js index 9da413136..699a59599 100644 --- a/qutebrowser/javascript/scroll.js +++ b/qutebrowser/javascript/scroll.js @@ -66,8 +66,18 @@ window._qutebrowser.scroll = (function() { var pos = { "px": {"x": window.scrollX, "y": window.scrollY}, "scroll": { - "width": Math.max(body.scrollWidth, body.offsetWidth, elem.scrollWidth, elem.offsetWidth), - "height": Math.max(body.scrollHeight, body.offsetHeight, elem.scrollHeight, elem.offsetHeight), + "width": Math.max( + body.scrollWidth, + body.offsetWidth, + elem.scrollWidth, + elem.offsetWidth + ), + "height": Math.max( + body.scrollHeight, + body.offsetHeight, + elem.scrollHeight, + elem.offsetHeight + ), }, "inner": { "width": window.innerWidth,