diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2020-02-16 22:01:03 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-16 22:01:03 -0500 |
commit | 2ace8d4ffa89d07a4fb07a410134054a1bccc431 (patch) | |
tree | 2da9c4e17b77ce0bf2ba8338e3fe301636667ffb /ext/mixed | |
parent | 1c6ed1d2866d9912b3b65d9e5addf710a6f26b38 (diff) | |
parent | ae4ee9ddee0b791c1039595250db6106e66709fa (diff) |
Merge pull request #367 from toasted-nutbread/defer-content-script-css-injection
Defer content script css injection
Diffstat (limited to 'ext/mixed')
-rw-r--r-- | ext/mixed/js/api.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/mixed/js/api.js b/ext/mixed/js/api.js index 86bdc73c..14900ecf 100644 --- a/ext/mixed/js/api.js +++ b/ext/mixed/js/api.js @@ -89,8 +89,8 @@ function apiFrameInformationGet() { return _apiInvoke('frameInformationGet'); } -function apiInjectStylesheet(css) { - return _apiInvoke('injectStylesheet', {css}); +function apiInjectStylesheet(type, value) { + return _apiInvoke('injectStylesheet', {type, value}); } function apiGetEnvironmentInfo() { |