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:
@@ -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