Canadensys / vascan

The Database of Vascular Plants of Canada
MIT License
2 stars 2 forks source link

Allow name search results to be opened in a new tab #6

Closed peterdesmet closed 11 years ago

peterdesmet commented 11 years ago

If you cmd + click on a result of the name search, a new tab opens with the taxon page (expected), but the current tab with the search results also opens the taxon page. This is annoying if you want to open several search results in several tabs.

Try it here: http://data.canadensys.net/vascan/search/?q=abies

Note: the more cumbersome right click > Open link in a new tab does work.

OS: Mac OS X Browser: Chrome 28.0.1500.95

dshorthouse commented 11 years ago

That's an artifact of having used a bit jQuery to permit clicking the whole list item in the search results. Fixing this issue will mean eliminating "whole-row" click functionality (and removing the hover css for the list items). Which can you live with?

peterdesmet commented 11 years ago

Oh, I would definitely choose right-click functionality over whole-row clicking. I always went for the red link and never noticed the hoover. :bowtie: