Minefield 3.1b2preで何故か動かなくなっていたのを修正

git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@3354 599a83e7-65a4-db11-8015-0010dcdd6dc2
This commit is contained in:
piro 2008-11-17 03:14:57 +00:00
parent 47af624231
commit 85fc811b8c

View File

@ -1289,6 +1289,7 @@ catch(e) {
for (var i in funcs) for (var i in funcs)
{ {
if (funcs[i] in window && if (funcs[i] in window &&
window[funcs[i]] &&
/^function (gotoHistoryIndex|BrowserForward|BrowserBack)/.test(window[funcs[i]].toString())) /^function (gotoHistoryIndex|BrowserForward|BrowserBack)/.test(window[funcs[i]].toString()))
eval('window.'+funcs[i]+' = '+ eval('window.'+funcs[i]+' = '+
window[funcs[i]].toSource().replace( window[funcs[i]].toSource().replace(