fix prefwindow js errors, r=hyatt

This commit is contained in:
ben%netscape.com 2006-05-17 02:26:16 +00:00
Родитель 8894db19e0
Коммит 0c01e022e5
1 изменённых файлов: 3 добавлений и 2 удалений

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

@ -29,12 +29,13 @@
function Startup()
{
hPrefWindow = new nsPrefWindow('panelFrame');
hPrefWindow.init();
if( !hPrefWindow )
throw "failed to create prefwindow";
<!-- If this call worked, we could center the window here: -->
<!-- centerWindowOnScreen(); -->
// If this call worked, we could center the window here:
// centerWindowOnScreen();
// modify the cookie tree entry if imageblocking is disabled.
if( hPrefWindow.getPref( "bool", "imageblocker.enabled" ) )