mirror of
https://github.com/sirrobzeroone/elepower.git
synced 2024-12-04 04:23:45 +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
|
||||||
@ -232,6 +231,4 @@ eletome.common_styles = {
|
|||||||
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