Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

#111 Fixed an issue when mouse button was released outside of the con…

…tainer
  • Loading branch information...
commit 5277507abd6e48560fd379932b630dfaf18dbf2f 1 parent 58b3b3a
@bjornd authored
Showing with 3 additions and 2 deletions.
  1. +3 −2 lib/world-map.js
View
5 lib/world-map.js
@@ -259,9 +259,10 @@ jvm.WorldMap.prototype = {
oldPageX = e.pageX;
oldPageY = e.pageY;
return false;
- }).mouseup(function(){
+ })
+
+ $('body').mouseup(function(){
mouseDown = false;
- return false;
});
if (this.params.zoomOnScroll) {
Please sign in to comment.
Something went wrong with that request. Please try again.