mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-10-20 22:35:40 +02:00
use the document's title attribute to grab the page title for buffer
completions rather than the raw text node content
This commit is contained in:
1 parent
2521d3e693
commit
c13a344871
1 file changed
+1
-1
@@ -429,7 +429,7 @@ vimperator.completion = (function() // {{{
|
|||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
title = getBrowser().getBrowserAtIndex(i).contentDocument.getElementsByTagName('title')[0].text;
|
title = getBrowser().getBrowserAtIndex(i).contentDocument.title;
|
||||||
}
|
}
|
||||||
catch (e)
|
catch (e)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in new issue
Block a user