Skip to content

Commit

Permalink
Build for release
Browse files Browse the repository at this point in the history
  • Loading branch information
maxkfranz committed Apr 13, 2020
1 parent f54d4bd commit 6e90dd8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@


Copyright (c) 2016-2019, The Cytoscape Consortium.
Copyright (c) 2016-2020, The Cytoscape Consortium.

Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the “Software”), to deal in
Expand Down
4 changes: 2 additions & 2 deletions cytoscape-cxtmenu.js
Original file line number Diff line number Diff line change
Expand Up @@ -538,8 +538,8 @@ var cxtmenu = function cxtmenu(params) {
var origE = e.originalEvent;
var isTouch = origE.touches && origE.touches.length > 0;

var pageX = (isTouch ? origE.touches[0].pageX : origE.pageX) - window.scrollX;
var pageY = (isTouch ? origE.touches[0].pageY : origE.pageY) - window.scrollY;
var pageX = (isTouch ? origE.touches[0].pageX : origE.pageX) - window.pageXOffset;
var pageY = (isTouch ? origE.touches[0].pageY : origE.pageY) - window.pageYOffset;

activeCommandI = undefined;

Expand Down

0 comments on commit 6e90dd8

Please sign in to comment.