Don't show link numbers if there is no href
Those can't actually be opened so it's confusing.
This commit is contained in:
parent
b1dee99409
commit
e06c2052a0
1 changed files with 1 additions and 1 deletions
|
@ -1870,7 +1870,7 @@ gtk_widget_key_press_event_cb (WebKitWebView* web_view,
|
|||
" var child = document.createElement ('span');"
|
||||
" child.setAttribute ('class', 'midoriHKD87346');"
|
||||
" child.appendChild (document.createTextNode (i));"
|
||||
" if (links[i].insertBefore)"
|
||||
" if (links[i].insertBefore && links[i].href)"
|
||||
" links[i].insertBefore (child); }",
|
||||
NULL);
|
||||
view->find_links = 0;
|
||||
|
|
Loading…
Reference in a new issue