From ab44c6052225f191ede7e158de4e156f6eb34680 Mon Sep 17 00:00:00 2001 From: narcolepticinsomniac Date: Wed, 7 Jul 2021 10:07:29 -0400 Subject: [PATCH] More specific name --- content/install-hook-userstylesworld.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/install-hook-userstylesworld.js b/content/install-hook-userstylesworld.js index ab68803d..05bdc591 100644 --- a/content/install-hook-userstylesworld.js +++ b/content/install-hook-userstylesworld.js @@ -19,7 +19,7 @@ if (location.pathname === '/api/oauth/style/new') { API.styles.find({_isUswLinked: true}).then(style => { - style.sourceCode = style.originalValue; + style.sourceCode = style.tmpSourceCode; sendPostMessage({type: 'usw-fill-new-style', data: style}); }); }