mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-10-17 02:42:32 +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
|
||||
{
|
||||
title = getBrowser().getBrowserAtIndex(i).contentDocument.getElementsByTagName('title')[0].text;
|
||||
title = getBrowser().getBrowserAtIndex(i).contentDocument.title;
|
||||
}
|
||||
catch (e)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user