1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-22 23:07:59 +01:00

removed accidental alert()

This commit is contained in:
Martin Stubenschrott
2007-12-12 04:29:59 +00:00
parent b26634f34a
commit 2dafed7328
2 changed files with 10 additions and 11 deletions

View File

@@ -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");