projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f81629a
)
collection3: remove unused variable
author
Ruben Kerkhof
<ruben@rubenkerkhof.com>
Tue, 13 Aug 2019 09:25:09 +0000
(11:25 +0200)
committer
Ruben Kerkhof
<ruben@rubenkerkhof.com>
Tue, 13 Aug 2019 09:25:09 +0000
(11:25 +0200)
contrib/collection3/share/navigate.js
patch
|
blob
|
history
diff --git
a/contrib/collection3/share/navigate.js
b/contrib/collection3/share/navigate.js
index
3bfe56e
..
0cf1513
100644
(file)
--- 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)
{