diff options
Diffstat (limited to 'src/ephy-navigation-action.c')
-rw-r--r-- | src/ephy-navigation-action.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/ephy-navigation-action.c b/src/ephy-navigation-action.c index d3c31299b..c2ebce792 100644 --- a/src/ephy-navigation-action.c +++ b/src/ephy-navigation-action.c @@ -430,8 +430,11 @@ ephy_navigation_action_activate (GtkAction *gtk_action) web_view = EPHY_GET_WEBKIT_WEB_VIEW_FROM_EMBED (embed); webkit_web_view_load_uri (web_view, forward_uri); - } else - webkit_web_view_go_forward (EPHY_GET_WEBKIT_WEB_VIEW_FROM_EMBED (embed)); + } + else + { + webkit_web_view_go_forward (web_view); + } } else if (action->priv->direction == EPHY_NAVIGATION_DIRECTION_UP) { |