mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-28 18:00:09 +00:00
tweaking...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
9e6cce7477
commit
d38eb30cfe
@ -623,13 +623,12 @@ var DialogsActions = actions.Actions({
|
||||
// notes...
|
||||
.replace(/NOTE:/g, '<b>NOTE:</b>')
|
||||
.replace(/XXX/g, '<span class="warning">XXX</span>')
|
||||
|
||||
// action links...
|
||||
.replace(/(\s)(\.([\w_]+[\w\d_]*)\([^)]*\))/g,
|
||||
function(match, a, b, c){
|
||||
return c == action ?
|
||||
`${a}<i>${b}</i>`
|
||||
: `${a}<a href="#" onclick="ig.showDoc(\'${c}\')">${b}</a>`
|
||||
: `${a}<a href="#" onclick="ig.showDoc('${c}')">${b}</a>`
|
||||
})
|
||||
)))
|
||||
})
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user