diff options
author | Jeroen <jeroenpraat@xs4all.nl> | 2014-10-10 13:37:09 +0000 |
---|---|---|
committer | Jeroen <jeroenpraat@xs4all.nl> | 2014-10-10 13:37:09 +0000 |
commit | 053e6061089ba89a53caf264ea4a055cec8be8ba (patch) | |
tree | 0323006e1fdf262026fd6198c51c69f05ce6d54b /view/js/main.js | |
parent | 1dda77596926fe08990c8a6f31412a38fbc602b5 (diff) | |
parent | f2335448f44e270222dad9147bd2b2c4bfec950b (diff) | |
download | volse-hubzilla-053e6061089ba89a53caf264ea4a055cec8be8ba.tar.gz volse-hubzilla-053e6061089ba89a53caf264ea4a055cec8be8ba.tar.bz2 volse-hubzilla-053e6061089ba89a53caf264ea4a055cec8be8ba.zip |
Merge branch 'master' of https://github.com/friendica/red
Diffstat (limited to 'view/js/main.js')
-rw-r--r-- | view/js/main.js | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/view/js/main.js b/view/js/main.js index 0560bc875..f58d3756b 100644 --- a/view/js/main.js +++ b/view/js/main.js @@ -896,12 +896,14 @@ function updateConvItems(mode,data) { function importElement(elem) { $.post( "impel", - { "element" : elem } + { "element" : elem }, + function(data) { + if(timer) clearTimeout(timer); + timer = setTimeout(NavUpdate,10); + } ); - if(timer) clearTimeout(timer); - timer = setTimeout(NavUpdate,10); - return true; + return false; } function preview_post() { |