From 862fe2ef06bdf137f9b8af2f7d19de86e47c585c Mon Sep 17 00:00:00 2001 From: Ruben Kerkhof Date: Tue, 13 Aug 2019 11:25:09 +0200 Subject: [PATCH] collection3: remove unused variable --- contrib/collection3/share/navigate.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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) { -- 2.11.0