diff options
author | Michael Große <grosse@cosmocode.de> | 2015-04-23 14:53:31 +0200 |
---|---|---|
committer | Michael Große <grosse@cosmocode.de> | 2015-04-23 14:53:31 +0200 |
commit | fcf506ee6d1ecd6e676d7bd8daa334964ef46265 (patch) | |
tree | 456171dfe66cc45271a7813daca3f516c9a1187e /lib/scripts | |
parent | 703509f636f39a80b681e76b4998973c952803a2 (diff) | |
download | rpg-fcf506ee6d1ecd6e676d7bd8daa334964ef46265.tar.gz rpg-fcf506ee6d1ecd6e676d7bd8daa334964ef46265.tar.bz2 |
Add comment to explain purpose of folliwing lines
Diffstat (limited to 'lib/scripts')
-rw-r--r-- | lib/scripts/linkwiz.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/scripts/linkwiz.js b/lib/scripts/linkwiz.js index 752e12187..7c383ffe4 100644 --- a/lib/scripts/linkwiz.js +++ b/lib/scripts/linkwiz.js @@ -299,6 +299,8 @@ var dw_linkwiz = { dw_linkwiz.$wiz.show(); dw_linkwiz.$entry.focus(); dw_linkwiz.autocomplete(); + + // Move the cursor to the end of the input var temp = dw_linkwiz.$entry.val(); dw_linkwiz.$entry.val(''); dw_linkwiz.$entry.val(temp); |