diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2017-11-04 19:55:19 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2017-11-04 19:55:19 +0000 |
commit | 15c4c0c674269ffae971da8a3961b384c5cb7d25 (patch) | |
tree | 88e2122caf0d6a4a3a1786aa1d7a4b30a5e32954 /gentoobrowse/xslt/base.xslt | |
parent | Remove JS href, replace with CSS (diff) | |
download | gentoobrowse-15c4c0c674269ffae971da8a3961b384c5cb7d25.tar.bz2 gentoobrowse-15c4c0c674269ffae971da8a3961b384c5cb7d25.tar.xz gentoobrowse-15c4c0c674269ffae971da8a3961b384c5cb7d25.zip |
Single showPopup function
Diffstat (limited to 'gentoobrowse/xslt/base.xslt')
-rw-r--r-- | gentoobrowse/xslt/base.xslt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gentoobrowse/xslt/base.xslt b/gentoobrowse/xslt/base.xslt index ce06c5f..f5ec3db 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" onclick="$('#search').modal('show');" rel="nofollow">Search</a></li> + <li><a accesskey="s" onclick="showPopup('#search')" rel="nofollow">Search</a></li> <xsl:if test="not(user)"> - <li><a accesskey="l" onclick="$('#login').modal('show');" rel="nofollow">Login/Sign up</a></li> + <li><a accesskey="l" onclick="showPopup('#login')" rel="nofollow">Login/Sign up</a></li> </xsl:if> <xsl:if test="user"> <li> |