Skip to content

Commit

Permalink
Merge pull request #36 from chemzqm/patch-1
Browse files Browse the repository at this point in the history
fix menu position never works
  • Loading branch information
vendethiel committed Mar 15, 2016
2 parents 1cc9408 + 6580c49 commit 7041f0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Expand Up @@ -131,7 +131,7 @@ Dropdown.prototype.onclick = function(ev){
x = ev.pageX, y = ev.pageY;
}

this.moveTo(x, y);
this.moveTo(x + 'px', y + 'px');
this.coor = { x: x, y: y };
this.show();
};
Expand Down

0 comments on commit 7041f0d

Please sign in to comment.