1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-03-29 21:21:15 +02:00
This commit is contained in:
Laurent Cozic 2021-01-12 02:27:56 +00:00
parent 79dde365f0
commit e595e19c0d

View File

@ -50,7 +50,7 @@ function loadContentScripts(plugins: PluginStates, scriptType: ContentScriptType
const context: ContentScriptContext = {
pluginId,
contentScriptId: contentScript.id,
postMessage: postMessageHandler(pluginId, contentScript.id),
postMessage: postMessageHandler(pluginId, scriptType, contentScript.id),
};
const loadedModule = module.default(context);