Bug 299396 - FAYT doesn't work in non-browser windows (help, view source). r=mconnor, a=cbread

This commit is contained in:
mozilla.mano%sent.com 2005-07-01 21:50:16 +00:00
Родитель e4be70f324
Коммит ca3fa92508
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -413,7 +413,7 @@ function shouldFastFind(evt)
// disable FAYT in about:config and about:blank to prevent FAYT opening
// unexpectedly - to fix bugs 264562, 267150, 269712
var url = getBrowser().selectedBrowser.webNavigation.currentURI.spec;
var url = getBrowser().currentURI.spec;
if (url == "about:blank" || url == "about:config")
return false;