Before opening a link on click, check if default prevented.
Merge pull request #4 from oerpub/ticket455

Before opening a link on click, check if default prevented.