X-Git-Url: http://git.cielonegro.org/gitweb.cgi?p=sugar.git;a=blobdiff_plain;f=dot-files%2F_vimperator%2Fplugin%2Fbitly_js;h=5b654ed011e90c5384f891ae6eb7fc173729e42d;hp=5d4af2dbddd17f285ec77994b3b9e9d23bfec708;hb=a807b4609220d6a60673008b962d2456d4ccebb7;hpb=61befc31a165034bb00a66f817318bbceca2bacb diff --git a/dot-files/_vimperator/plugin/bitly_js b/dot-files/_vimperator/plugin/bitly_js index 5d4af2d..5b654ed 100644 --- a/dot-files/_vimperator/plugin/bitly_js +++ b/dot-files/_vimperator/plugin/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 : '' + })() } ); }