minor tweak...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2018-10-27 15:35:44 +03:00
parent 2e99122684
commit d02d7c8564

View File

@ -741,7 +741,8 @@ var SortUIActions = actions.Actions({
'Sort order:\n '
+data
.map(function(m){
return that.expandSortMethod(m) ?
var e = that.expandSortMethod(m)
return (e instanceof Array || typeof(e) == typeof('str')) ?
`<a href="javascript:ig.showSortMethodDoc('${m}')">${m}</a>`
: m })
.join('\n '))))