增加语音对话功能
This commit is contained in:
@@ -64,7 +64,7 @@ export function registerPrefs() {
|
||||
});
|
||||
}
|
||||
|
||||
function ensureStyles(doc: Document) {
|
||||
export function ensureChatPapersStyles(doc: Document) {
|
||||
const id = "chatpapers-styles";
|
||||
if (doc.getElementById(id)) return;
|
||||
const link = doc.createElement("link");
|
||||
@@ -74,3 +74,7 @@ function ensureStyles(doc: Document) {
|
||||
link.href = `chrome://${config.addonRef}/content/chatpapers.css`;
|
||||
doc.documentElement?.appendChild(link);
|
||||
}
|
||||
|
||||
function ensureStyles(doc: Document) {
|
||||
ensureChatPapersStyles(doc);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user