Skip to content

Commit b07d46b

Browse files
chore(tslint): triple-equals
1 parent 9686c21 commit b07d46b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/directives/uiSref.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ export class UISref implements OnChanges {
170170
/** When triggered by a (click) event, this function transitions to the UISref's target state */
171171
@HostListener('click', ['$event.button', '$event.ctrlKey', '$event.metaKey'])
172172
go(button: number, ctrlKey: boolean, metaKey: boolean) {
173-
if (this._anchorUISref && (this._anchorUISref.openInNewTab() || button != 0 || ctrlKey || metaKey)) {
173+
if (this._anchorUISref && (this._anchorUISref.openInNewTab() || button || ctrlKey || metaKey)) {
174174
return;
175175
}
176176

0 commit comments

Comments
 (0)