Skip to content

Commit

Permalink
collection3: remove unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
rubenk committed Aug 13, 2019
1 parent f81629a commit 862fe2e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions contrib/collection3/share/navigate.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit 862fe2e

Please sign in to comment.