diff options
author | cel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519> | 2017-07-10 13:35:33 -1000 |
---|---|---|
committer | cel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519> | 2017-07-10 13:35:33 -1000 |
commit | 99751530687fd14483071de4ae97c2caac667c92 (patch) | |
tree | f49a11e77e6adf3f43edbf3ba7299fea700d0096 /lib/util.js | |
parent | 3e303fe722d3852f27a5f8ce86cbe0cc15584649 (diff) | |
download | patchfoo-99751530687fd14483071de4ae97c2caac667c92.tar.gz patchfoo-99751530687fd14483071de4ae97c2caac667c92.zip |
Improve links on about pages
Diffstat (limited to 'lib/util.js')
-rw-r--r-- | lib/util.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/util.js b/lib/util.js index 713705d..c6a4aa2 100644 --- a/lib/util.js +++ b/lib/util.js @@ -72,7 +72,7 @@ u.ifNumber = function (num) { } u.toLink = function (link) { - return typeof link === 'string' ? {link: link} : link + return typeof link === 'string' ? {link: link} : link || null } u.linkDest = function (link) { |