mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-22 21:27:58 +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:
@@ -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