X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=common%2Fcontent%2Fabbreviations.js;h=4013be29f68b27361e2b16a6b17b07b5d5d2179c;hb=refs%2Ftags%2Fupstream%2F1.0%2Bhg6948;hp=4b646446aa607139f3c151137b818571d8f8eb72;hpb=d8a3bcebff36df7b128b36e0b57b715479e155a0;p=dactyl.git 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: