File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -36,8 +36,6 @@ function handleHooksSuccess(hooks) {
3636
3737 hooks . forEach ( function ( item , index ) {
3838 renderHook ( item ) ;
39-
40- //startHooks(item, true);
4139 completedRequests ++ ;
4240 } ) ;
4341
Original file line number Diff line number Diff line change 7272 // Hooks
7373 if (!$ config ['disable_hooks ' ]) {
7474 echo '
75- startHooks(); ' ;
75+ // Avvio hooks dopo 10 secondi
76+ setTimeout(function() {
77+ startHooks();
78+ }, 10*1000); ' ;
7679 }
7780
7881 echo '
Original file line number Diff line number Diff line change 449449 <a href="#" class="nav-link dropdown-toggle" data-toggle="dropdown">
450450 <i class="fa fa-bell-o"></i>
451451 <span id="hooks-badge" class="badge badge-warning">
452- <span id="hooks-loading"><i class="fa fa-spinner fa-spin "></i></span>
452+ <span id="hooks-loading"><i class="fa fa-clock-o "></i></span>
453453 <span id="hooks-notified"></span>
454454 <span id="hooks-counter" class="d-none">0</span>
455455 <span id="hooks-number" class="d-none">0</span>
You can’t perform that action at this time.
0 commit comments