From: Ruben Kerkhof Date: Tue, 13 Aug 2019 09:25:09 +0000 (+0200) Subject: collection3: remove unused variable X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=862fe2ef06bdf137f9b8af2f7d19de86e47c585c;p=collectd.git collection3: remove unused variable --- diff --git a/contrib/collection3/share/navigate.js b/contrib/collection3/share/navigate.js index 3bfe56ed..0cf15132 100644 --- a/contrib/collection3/share/navigate.js +++ b/contrib/collection3/share/navigate.js @@ -183,12 +183,11 @@ function nav_calculate_offset_x (obj) function nav_calculate_event_x (e) { var pos = 0; - var off = 0; if (!e || !e.target) return; - off = nav_calculate_offset_x (e.target); + nav_calculate_offset_x (e.target); if (e.pageX || e.pageY) {