diff options
author | Max Kostikov <max@kostikov.co> | 2018-10-14 22:28:47 +0200 |
---|---|---|
committer | Max Kostikov <max@kostikov.co> | 2018-10-14 22:28:47 +0200 |
commit | f9c3b80780ce2e3244d3cf4acd31918b519ce8ae (patch) | |
tree | 736ce2269557b5424e5674807fd302a914b9616f | |
parent | ab0e2f5236d9aeec76e5b55866b4a752a3157255 (diff) | |
download | volse-hubzilla-f9c3b80780ce2e3244d3cf4acd31918b519ce8ae.tar.gz volse-hubzilla-f9c3b80780ce2e3244d3cf4acd31918b519ce8ae.tar.bz2 volse-hubzilla-f9c3b80780ce2e3244d3cf4acd31918b519ce8ae.zip |
Update main.js
-rw-r--r-- | view/js/main.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/view/js/main.js b/view/js/main.js index 0c16d0560..71bb86df5 100644 --- a/view/js/main.js +++ b/view/js/main.js @@ -44,7 +44,7 @@ $(document).ready(function() { $(document).on('click', '.conversation-settings-link', getConversationSettings); $(document).on('click', '#settings_module_ajax_submit', postConversationSettings); - var tf = new Function('n', aStr['plural_func']); + var tf = new Function('n', 'return '+aStr['plural_func']+';'); jQuery.timeago.settings.strings = { prefixAgo : aStr['t01'], |