aboutsummaryrefslogtreecommitdiffstats
path: root/bitly.js
diff options
context:
space:
mode:
Diffstat (limited to 'bitly.js')
-rw-r--r--bitly.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/bitly.js b/bitly.js
index 5d4af2d..ec57cc4 100644
--- a/bitly.js
+++ b/bitly.js
@@ -90,7 +90,10 @@ let PLUGIN_INFO = xml`
callback();
},
{
- default: let (e = content.document.querySelector('#bitly_api_key')) (e ? e.value : '')
+ default: (function () {
+ let e = content.document.querySelector('#bitly_api_key');
+ return (e ? e.value : '')
+ })()
}
);
}