X-Git-Url: https://git.donarmstrong.com/?p=dactyl.git;a=blobdiff_plain;f=common%2Fcontent%2Fabbreviations.js;h=4013be29f68b27361e2b16a6b17b07b5d5d2179c;hp=4b646446aa607139f3c151137b818571d8f8eb72;hb=3d837eb266a3a01d424192aa4ec1a167366178c5;hpb=d8a3bcebff36df7b128b36e0b57b715479e155a0 diff --git a/common/content/abbreviations.js b/common/content/abbreviations.js index 4b64644..4013be2 100644 --- a/common/content/abbreviations.js +++ b/common/content/abbreviations.js @@ -347,7 +347,7 @@ var Abbreviations = Module("abbreviations", { arguments: [abbr.lhs], literalArg: abbr.rhs, options: { - "-javascript": abbr.rhs ? null : undefined + "-javascript": callable(abbr.rhs) ? null : undefined } } for ([, abbr] in Iterator(abbreviations.user.merged)) @@ -380,4 +380,4 @@ var Abbreviations = Module("abbreviations", { } }); -// vim: set fdm=marker sw=4 ts=4 et: +// vim: set fdm=marker sw=4 sts=4 ts=8 et: