]> git.lizzy.rs Git - rust.git/commit
Make doc search results use <a> tags instead of js for navigating
authorCarol Nichols <carol.nichols@gmail.com>
Sun, 31 Aug 2014 21:11:42 +0000 (17:11 -0400)
committerCarol Nichols <carol.nichols@gmail.com>
Sun, 31 Aug 2014 21:11:42 +0000 (17:11 -0400)
commit3dc9deb6e5b41859dcbbe28d1e326d296a5e1bb9
tree8537d4c86aab51717ab26f908e610b8463dd61bd
parent08176a356124322dfe9ec33b7846a517fc7ae532
Make doc search results use <a> tags instead of js for navigating

This has the primary advantage of not interfering with browser default
behavior for links like being able to cmd/ctrl+click on a result to open
the result in a new tab but leave the current page as-is (previous
behavior both opened a new tab and changed the current tab's location to
the result's)
src/librustdoc/html/static/main.css
src/librustdoc/html/static/main.js