From: Dan Vanderkam Date: Thu, 16 Aug 2012 16:03:49 +0000 (-0400) Subject: failing test for iframe mouseup X-Git-Tag: v1.0.0~194 X-Git-Url: https://adrianiainlam.tk/git/?a=commitdiff_plain;ds=sidebyside;h=f4e7e19ad631619a3f73a2393704a4f70bbd1bae;p=dygraphs.git failing test for iframe mouseup --- diff --git a/dygraph.js b/dygraph.js index 3a8cd32..64ca4b6 100644 --- a/dygraph.js +++ b/dygraph.js @@ -1303,7 +1303,7 @@ Dygraph.prototype.createDragInterface_ = function() { } }; - this.addEvent(document, 'mouseup', this.mouseUpHandler_); + this.addEvent(window, 'mouseup', this.mouseUpHandler_); }; /**