mirror of
https://github.com/sirrobzeroone/elepower.git
synced 2024-12-03 12:03:46 +01:00
Fix Minor bug in back button
remove trailing white space as well
This commit is contained in:
parent
6988330919
commit
6c59fdc6e0
@ -85,7 +85,6 @@ minetest.register_on_player_receive_fields(function(player, formname, fields)
|
|||||||
else
|
else
|
||||||
fields = back[prev_page]
|
fields = back[prev_page]
|
||||||
table.remove(back,#back)
|
table.remove(back,#back)
|
||||||
table.remove(back,#back-1)
|
|
||||||
pmeta:set_string("elepower_tome_back", minetest.serialize(back))
|
pmeta:set_string("elepower_tome_back", minetest.serialize(back))
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
@ -222,16 +221,14 @@ eletome.tooltip_color = "#30434c;#f9f9f9"
|
|||||||
-- e = end ie post text
|
-- e = end ie post text
|
||||||
-- Used for hypertext
|
-- Used for hypertext
|
||||||
eletome.common_styles = {
|
eletome.common_styles = {
|
||||||
style_h0s = "<style color="..eletome.font_color.." size=26><b><center>",
|
style_h0s = "<style color="..eletome.font_color.." size=26><b><center>",
|
||||||
style_h0e = "</center></b></style>",
|
style_h0e = "</center></b></style>",
|
||||||
style_h1s = "<style color="..eletome.font_color.." size=20><b><center>",
|
style_h1s = "<style color="..eletome.font_color.." size=20><b><center>",
|
||||||
style_h1e = "</center></b></style>",
|
style_h1e = "</center></b></style>",
|
||||||
style_h2s = "<style color="..eletome.font_color.." size=18><center>",
|
style_h2s = "<style color="..eletome.font_color.." size=18><center>",
|
||||||
style_h2e = "</center></style>",
|
style_h2e = "</center></style>",
|
||||||
style_h3s = "<style color="..eletome.font_color.." size=14><center>",
|
style_h3s = "<style color="..eletome.font_color.." size=14><center>",
|
||||||
style_h3e = "</center></style>", -- approximate default "label" size
|
style_h3e = "</center></style>", -- approximate default "label" size
|
||||||
style_h4s = "<style color="..eletome.font_color.." size=12><center>",
|
style_h4s = "<style color="..eletome.font_color.." size=12><center>",
|
||||||
style_h4e = "</center></style>"
|
style_h4e = "</center></style>"
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user