diff options
author | Andreas Gohr <andi@splitbrain.org> | 2015-05-07 09:53:33 +0200 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2015-05-07 09:53:33 +0200 |
commit | 9234bce90e1297ac66acc321827cb0f832864fe4 (patch) | |
tree | 1caa0d8bac6757b479d72e593fc3e2d32475e7f0 | |
parent | db1083d69c2cef76478b675f190ca81162f4037e (diff) | |
parent | b43a17acf599c3be018aa413a6e44ab61baf90ce (diff) | |
download | rpg-9234bce90e1297ac66acc321827cb0f832864fe4.tar.gz rpg-9234bce90e1297ac66acc321827cb0f832864fe4.tar.bz2 |
Merge pull request #1132 from micgro42/linkWizPipe
Add pipe to end of link pasted without title
-rw-r--r-- | lib/scripts/linkwiz.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/scripts/linkwiz.js b/lib/scripts/linkwiz.js index 7c383ffe4..bc850226f 100644 --- a/lib/scripts/linkwiz.js +++ b/lib/scripts/linkwiz.js @@ -244,9 +244,10 @@ var dw_linkwiz = { so += dw_linkwiz.val.open.length; link = dw_linkwiz.val.open+link; } + link += '|'; + so += 1; if(stxt) { - link += '|'+stxt; - so += 1; + link += stxt; } if(dw_linkwiz.val.close) { link += dw_linkwiz.val.close; |