mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-16 22:04:36 +00:00
bug 203399; remove needless stylesheet call; r=timeless; sr=jag
This commit is contained in:
parent
054eccf9b5
commit
070cc57df4
@ -51,7 +51,6 @@ const kDisplayModeSource = 2;
|
||||
const kDisplayModePreview = 3;
|
||||
const kDisplayModeMenuIDs = ["viewNormalMode", "viewAllTagsMode", "viewSourceMode", "viewPreviewMode"];
|
||||
const kDisplayModeTabIDS = ["NormalModeButton", "TagModeButton", "SourceModeButton", "PreviewModeButton"];
|
||||
const kBaseEditorStyleSheet = "chrome://editor/content/EditorOverride.css";
|
||||
const kNormalStyleSheet = "chrome://editor/content/EditorContent.css";
|
||||
const kAllTagsStyleSheet = "chrome://editor/content/EditorAllTags.css";
|
||||
const kParagraphMarksStyleSheet = "chrome://editor/content/EditorParagraphMarks.css";
|
||||
@ -368,9 +367,6 @@ var gEditorDocumentObserver =
|
||||
try {
|
||||
editor.QueryInterface(nsIEditorStyleSheets);
|
||||
|
||||
// Add the base sheets for editor cursor etc.
|
||||
editor.addOverrideStyleSheet(kBaseEditorStyleSheet);
|
||||
|
||||
// and extra styles for showing anchors, table borders, smileys, etc
|
||||
editor.addOverrideStyleSheet(kNormalStyleSheet);
|
||||
} catch (e) {}
|
||||
|
Loading…
x
Reference in New Issue
Block a user