Fix Minor bug in back button

remove trailing white space as well
This commit is contained in:
Sirrobzeroone 2021-07-01 09:39:49 +10:00
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>"
} }