Created attachment 8781962 middlemouse on new tab button should create a new tab related to current,
Refactored as suggested, and added a comment why we're using the target of the source event.
Created attachment 8781962
middlemouse on new tab button should create a new tab related to current,
Refactored as suggested, and added a comment why we're using the target of the source event.