mirror of
https://github.com/gnosygnu/xowa.git
synced 2024-10-27 20:34:16 +00:00
Css: Change css jump-to class from 'mw-navigation' to 'mw-head' [#394]
This commit is contained in:
parent
61cc5e89a7
commit
8c1f30039b
@ -204,7 +204,7 @@ public class Xow_portal_mgr implements Gfo_invk {
|
||||
// TODO: use "vector-jumptosearch", but need to update language.gfs files
|
||||
private static final Bry_fmtr Div_jump_to_fmtr = Bry_fmtr.new_(String_.Concat
|
||||
( "\n <div id=\"jump-to-nav\" class=\"mw-jump\">" // NOTE:class=mw-jump is for backward compatibility
|
||||
, "\n <a class=\"mw-jump-link\" href=\"#mw-navigation\">~{jumpto}~{jumptonavigation}</a>"
|
||||
, "\n <a class=\"mw-jump-link\" href=\"#mw-head\">~{jumpto}~{jumptonavigation}</a>"
|
||||
, "\n <a class=\"mw-jump-link\" href=\"#p-search\">~{jumpto}~{jumptosearch}</a>"
|
||||
, "\n </div>" // NOTE: </div> is for backward compatibility; current MW places right after jump-to-nav
|
||||
), "jumpto", "jumptonavigation", "jumptosearch");
|
||||
|
@ -50,7 +50,7 @@ public class Xow_portal_mgr_tst {
|
||||
Gftest.Eq__ary__lines(String_.Concat_lines_nl
|
||||
( ""
|
||||
, " <div id=\"jump-to-nav\" class=\"mw-jump\">"
|
||||
, " <a class=\"mw-jump-link\" href=\"#mw-navigation\">Jump to:navigation</a>"
|
||||
, " <a class=\"mw-jump-link\" href=\"#mw-head\">Jump to:navigation</a>"
|
||||
, " <a class=\"mw-jump-link\" href=\"#p-search\">Jump to:search</a>"
|
||||
, " </div>"
|
||||
), fxt.Portal_mgr().Div_jump_to());
|
||||
|
Loading…
Reference in New Issue
Block a user