Accept aEvent argument

Because previous implementation always prevents event propergation if
users href link clicked.