Skip to content

Commit

Permalink
Fixing regression in 3.0.6
Browse files Browse the repository at this point in the history
  • Loading branch information
tmcw committed Sep 2, 2011
1 parent 3e9b147 commit 1667ca7
Show file tree
Hide file tree
Showing 9 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion control/mm/interaction.js
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ wax.mm.interaction = function(map, tilejson, options) {
function onUp(e) {
var pos = wax.util.eventoffset(e);

MM.removeEvent(map.parent, 'mouseup', onUp);
MM.removeEvent(document.body, 'mouseup', onUp);
if (map.parent.ontouchend) {
MM.removeEvent(map.parent, 'touchend', onUp);
MM.removeEvent(map.parent, 'touchmove', _touchCancel);
Expand Down
2 changes: 1 addition & 1 deletion dist/wax.g.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* wax - 3.0.6 - 1.0.4-371-g4cb599d */
/* wax - 3.0.6 - 1.0.4-372-g3e9b147 */


/*!
Expand Down
2 changes: 1 addition & 1 deletion dist/wax.g.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/wax.leaf.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* wax - 3.0.6 - 1.0.4-371-g4cb599d */
/* wax - 3.0.6 - 1.0.4-372-g3e9b147 */


/*!
Expand Down
2 changes: 1 addition & 1 deletion dist/wax.leaf.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions dist/wax.mm.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* wax - 3.0.6 - 1.0.4-371-g4cb599d */
/* wax - 3.0.6 - 1.0.4-372-g3e9b147 */


/*!
Expand Down Expand Up @@ -1395,7 +1395,7 @@ wax.mm.interaction = function(map, tilejson, options) {
function onUp(e) {
var pos = wax.util.eventoffset(e);

MM.removeEvent(map.parent, 'mouseup', onUp);
MM.removeEvent(document.body, 'mouseup', onUp);
if (map.parent.ontouchend) {
MM.removeEvent(map.parent, 'touchend', onUp);
MM.removeEvent(map.parent, 'touchmove', _touchCancel);
Expand Down
4 changes: 2 additions & 2 deletions dist/wax.mm.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/wax.ol.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* wax - 3.0.6 - 1.0.4-371-g4cb599d */
/* wax - 3.0.6 - 1.0.4-372-g3e9b147 */


/*!
Expand Down
2 changes: 1 addition & 1 deletion dist/wax.ol.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 1667ca7

Please sign in to comment.