Permalink
Browse files

fix event handler

  • Loading branch information...
cjolif committed Mar 7, 2013
1 parent 12bebf2 commit 453b26609e85aa30b77d648e2040dfda62c71c08
Showing with 2 additions and 2 deletions.
  1. +2 −2 treemap/TreeMap.js
View
@@ -105,8 +105,8 @@ define(["dojo/_base/array", "dojo/_base/lang", "dojo/_base/declare", "dojo/_base
postCreate: function(){
this.inherited(arguments);
this.own(on(this.domNode, "mouseover", lang.hitch(this, this._onMouseOver)));
- this.own(on(this.domNode, "mouseout", lang.hitch(this._onMouseOut)));
- this.own(on(this.domNode, touch.release, lang.hitch(this._onMouseUp)));
+ this.own(on(this.domNode, "mouseout", lang.hitch(this, this._onMouseOut)));
+ this.own(on(this.domNode, touch.release, lang.hitch(this, this._onMouseUp)));
this.domNode.setAttribute("role", "presentation");
this.domNode.setAttribute("aria-label", "treemap");
},

0 comments on commit 453b266

Please sign in to comment.