diff options
Diffstat (limited to 'view/js/main.js')
-rw-r--r-- | view/js/main.js | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/view/js/main.js b/view/js/main.js index f3b252171..0560bc875 100644 --- a/view/js/main.js +++ b/view/js/main.js @@ -893,7 +893,16 @@ function updateConvItems(mode,data) { return true; } + function importElement(elem) { + $.post( + "impel", + { "element" : elem } + ); + if(timer) clearTimeout(timer); + timer = setTimeout(NavUpdate,10); + return true; + } function preview_post() { $("#jot-preview").val("1"); @@ -1069,6 +1078,7 @@ function previewTheme(elm) { } $(document).ready(function() { + jQuery.timeago.settings.strings = { prefixAgo : aStr['t01'], prefixFromNow : aStr['t02'], |