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