mirror of https://github.com/perkeep/perkeep.git
Merge "Always handle clicks on aspect links in JavaScript."
This commit is contained in:
commit
f61d429d32
|
@ -119,10 +119,14 @@ cam.DetailView = React.createClass({
|
||||||
this.eh_.dispose();
|
this.eh_.dispose();
|
||||||
},
|
},
|
||||||
|
|
||||||
handleAspectClick_: function(name) {
|
handleAspectClick_: function(name, e) {
|
||||||
this.setState({
|
// Mathieu requests that middle and right-click do nothing until we can make real URLs work.
|
||||||
selectedAspect: name,
|
if (e.button == 0) {
|
||||||
});
|
this.setState({
|
||||||
|
selectedAspect: name,
|
||||||
|
});
|
||||||
|
}
|
||||||
|
return false;
|
||||||
},
|
},
|
||||||
|
|
||||||
handleKeyUp_: function(e) {
|
handleKeyUp_: function(e) {
|
||||||
|
|
Loading…
Reference in New Issue