diff options
| author | 2013-10-07 22:30:44 +0200 | |
|---|---|---|
| committer | 2013-10-07 22:30:44 +0200 | |
| commit | 8f7a630183462cb18892c6217c08f607271fc3be (patch) | |
| tree | 2396317b19b197a970aab22474d09e81db3931ab | |
| parent | f4e2501e47e9178f5ad5bd67c099c1da5e8a2323 (diff) | |
Correction global view
init_stream_delegates était appelé à chaque ouverture de panel.
Un seul appel suffit (surtout si l'on veut éviter les bugs)
| -rw-r--r-- | public/scripts/global_view.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/public/scripts/global_view.js b/public/scripts/global_view.js index 6f2a07b5a..af91cb7a8 100644 --- a/public/scripts/global_view.js +++ b/public/scripts/global_view.js @@ -14,7 +14,6 @@ function load_panel(link) { init_load_more($("#panel")); init_posts(); - init_stream_delegates($("#panel")); $("#overlay").fadeIn(); $("#panel").slideToggle(); @@ -43,6 +42,8 @@ function init_global_view() { }); $(".nav_menu #nav_menu_read_all, .nav_menu .toggle_aside").remove(); + + init_stream_delegates($("#panel")); } |
