|
|
|
@ -84,12 +84,6 @@ function ReaderLink:addToMainMenu(menu_items)
|
|
|
|
|
menu_items.follow_links = {
|
|
|
|
|
text = _("Links"),
|
|
|
|
|
sub_item_table = {
|
|
|
|
|
{
|
|
|
|
|
text = _("Go back to previous location"),
|
|
|
|
|
enabled_func = function() return #self.location_stack > 0 end,
|
|
|
|
|
callback = function() self:onGoBackLink() end,
|
|
|
|
|
separator = true,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
text = _("Tap to follow links"),
|
|
|
|
|
checked_func = isTapToFollowLinksOn,
|
|
|
|
@ -141,6 +135,11 @@ function ReaderLink:addToMainMenu(menu_items)
|
|
|
|
|
},
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
menu_items.go_to_previous_location = {
|
|
|
|
|
text = _("Go back to previous location"),
|
|
|
|
|
enabled_func = function() return #self.location_stack > 0 end,
|
|
|
|
|
callback = function() self:onGoBackLink() end,
|
|
|
|
|
}
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
--- Gets link from gesture.
|
|
|
|
|