We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 799cc10 commit 091f312Copy full SHA for 091f312
src/stateDirectives.js
@@ -46,7 +46,7 @@ function $StateRefDirective($state) {
46
element.bind("click", function(e) {
47
var button = e.which || e.button;
48
49
- if ((button == 1) && !e.ctrlKey && !e.metaKey && !e.shiftKey) {
+ if ((button === 0 || button == 1) && !e.ctrlKey && !e.metaKey && !e.shiftKey) {
50
scope.$evalAsync(function() {
51
$state.go(ref.state, params, { relative: base });
52
});
0 commit comments