mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-23 06:38:12 +01:00
removed accidental alert()
This commit is contained in:
@@ -206,7 +206,6 @@ vimperator.Buffer = function () //{{{
|
||||
|
||||
lastInputField: null, // used to keep track of the right field for "gi"
|
||||
|
||||
|
||||
get URL()
|
||||
{
|
||||
// TODO: .URL is not defined for XUL documents
|
||||
|
||||
@@ -219,19 +219,19 @@ vimperator.help = function (section, easter) //{{{
|
||||
|
||||
try
|
||||
{
|
||||
alert(doc.open());
|
||||
doc.open();
|
||||
}
|
||||
catch (e)
|
||||
{
|
||||
// dump("catched open\n");
|
||||
// // FIXME: what's this all about then, eh? Works the same for if it's removed. -- djk
|
||||
// // when the url is "about:" or any other xhtml page the doc is not open
|
||||
// // then retry again in 250ms but just once
|
||||
// if (arguments[3] && arguments[3].recursive)
|
||||
// return false;
|
||||
//
|
||||
// vimperator.open("about:blank");
|
||||
// setTimeout(function () { vimperator.help(section, false, null, { recursive: true }); }, 250);
|
||||
dump("catched open\n");
|
||||
// FIXME: what's this all about then, eh? Works the same for if it's removed. -- djk
|
||||
// when the url is "about:" or any other xhtml page the doc is not open
|
||||
// then retry again in 250ms but just once
|
||||
if (arguments[3] && arguments[3].recursive)
|
||||
return false;
|
||||
|
||||
vimperator.open("about:blank");
|
||||
setTimeout(function () { vimperator.help(section, false, null, { recursive: true }); }, 250);
|
||||
return;
|
||||
}
|
||||
dump("before write\n");
|
||||
|
||||
Reference in New Issue
Block a user