diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2017-11-04 19:49:19 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2017-11-04 19:50:59 +0000 |
commit | acc2e6c3969faa67b843f1ba0a05a12f4086d9ed (patch) | |
tree | ca4a989cff10aab3d2fa5280505d75c41eb8c250 | |
parent | Tidy js.js (diff) | |
download | gentoobrowse-acc2e6c3969faa67b843f1ba0a05a12f4086d9ed.tar.bz2 gentoobrowse-acc2e6c3969faa67b843f1ba0a05a12f4086d9ed.tar.xz gentoobrowse-acc2e6c3969faa67b843f1ba0a05a12f4086d9ed.zip |
Remove JS href, replace with CSS
-rw-r--r-- | gentoobrowse/css/general.css | 4 | ||||
-rw-r--r-- | gentoobrowse/xslt/base.xslt | 4 |
2 files changed, 5 insertions, 3 deletions
diff --git a/gentoobrowse/css/general.css b/gentoobrowse/css/general.css index 2b4d500..4ca752c 100644 --- a/gentoobrowse/css/general.css +++ b/gentoobrowse/css/general.css @@ -1060,7 +1060,9 @@ form.bs-docs-example { } } - +a { + cursor: pointer; +} .local { font-style: italic; diff --git a/gentoobrowse/xslt/base.xslt b/gentoobrowse/xslt/base.xslt index 96cf35b..ce06c5f 100644 --- a/gentoobrowse/xslt/base.xslt +++ b/gentoobrowse/xslt/base.xslt @@ -85,9 +85,9 @@ <li><a accesskey="b" href="/packages">Browse</a></li> <li><a accesskey="o" href="/packages/popular">Popular</a></li> <li><a accesskey="u" href="/use">Use</a></li> - <li><a accesskey="s" href="JavaScript: void(0);" onclick="$('#search').modal('show');" rel="nofollow">Search</a></li> + <li><a accesskey="s" onclick="$('#search').modal('show');" rel="nofollow">Search</a></li> <xsl:if test="not(user)"> - <li><a accesskey="l" href="JavaScript: void(0);" onclick="$('#login').modal('show');" rel="nofollow">Login/Sign up</a></li> + <li><a accesskey="l" onclick="$('#login').modal('show');" rel="nofollow">Login/Sign up</a></li> </xsl:if> <xsl:if test="user"> <li> |