diff options
Diffstat (limited to 'js/components/menu/menu-entry.reel')
-rwxr-xr-x | js/components/menu/menu-entry.reel/menu-entry.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/components/menu/menu-entry.reel/menu-entry.js b/js/components/menu/menu-entry.reel/menu-entry.js index b9c546ed..ae3469c6 100755 --- a/js/components/menu/menu-entry.reel/menu-entry.js +++ b/js/components/menu/menu-entry.reel/menu-entry.js | |||
@@ -83,7 +83,7 @@ exports.MenuEntry = Montage.create(Component, { | |||
83 | } | 83 | } |
84 | }, | 84 | }, |
85 | 85 | ||
86 | handleClick: { | 86 | captureMousedown: { |
87 | value: function(event) { | 87 | value: function(event) { |
88 | // TODO: Hack! Rework this! | 88 | // TODO: Hack! Rework this! |
89 | this.parentComponent.ownerComponent.toggleActivation(this); | 89 | this.parentComponent.ownerComponent.toggleActivation(this); |
@@ -105,7 +105,7 @@ exports.MenuEntry = Montage.create(Component, { | |||
105 | 105 | ||
106 | this.topHeaderText.innerHTML = this.data.header; | 106 | this.topHeaderText.innerHTML = this.data.header; |
107 | 107 | ||
108 | this.element.addEventListener("click", this, false); | 108 | this.element.addEventListener("mousedown", this, true); |
109 | 109 | ||
110 | Object.defineBinding(this, "menuIsActive", { | 110 | Object.defineBinding(this, "menuIsActive", { |
111 | boundObject: this._menu, | 111 | boundObject: this._menu, |