aboutsummaryrefslogtreecommitdiff
path: root/ext/mixed/js
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-02-16 13:13:04 -0500
committertoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-02-16 21:43:35 -0500
commit2c3f510010ca2910b8c227a9888e2c3584840402 (patch)
tree253ec4be97869bfe7248639b0c64ac95ddd8f9f2 /ext/mixed/js
parent1c6ed1d2866d9912b3b65d9e5addf710a6f26b38 (diff)
Allow apiInjectStylesheet to inject a URL
Diffstat (limited to 'ext/mixed/js')
-rw-r--r--ext/mixed/js/api.js4
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() {