1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-22 19:37:59 +01: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:
Doug Kearns
2007-10-09 00:20:48 +00:00
parent 2521d3e693
commit c13a344871

View File

@@ -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)
{