pat-switch: prevent the default action when a hyperlink is clicked.