From ce3eb1aa2a2fce42b55577e14e90384ac210b4d6 Mon Sep 17 00:00:00 2001 From: "brade%netscape.com" Date: Tue, 8 Oct 2002 14:01:02 +0000 Subject: [PATCH] fix typo (bug 122992) sr=kin --- editor/ui/composer/content/editor.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/editor/ui/composer/content/editor.js b/editor/ui/composer/content/editor.js index 4173baf34d0..85ddfca6f3f 100644 --- a/editor/ui/composer/content/editor.js +++ b/editor/ui/composer/content/editor.js @@ -455,7 +455,7 @@ function EditorSharedStartup() // Set up the mime type and register the commands. // We don't have an editor yet -- in fact, this is the listener which // will tell us when it's time to create the editor. - // So we can't use gEditor.AddDocumentStateListener here. + // So we can't use gEditor.addDocumentStateListener here. if (gIsHTMLEditor) { //XXX this is replaced by nsIEditor::contentsMIMEType @@ -732,7 +732,7 @@ function EditorSetDocumentCharacterSet(aCharset) { // reloading the document will reverse any changes to the META charset, // we need to put them back in, which is achieved by a dedicated listener - gEditor.AddDocumentStateListener( DocumentReloadListener ); + gEditor.addDocumentStateListener( DocumentReloadListener ); editorShell.LoadUrl(docUrl); } }