File tree Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -36,8 +36,6 @@ function handleHooksSuccess(hooks) {
36
36
37
37
hooks . forEach ( function ( item , index ) {
38
38
renderHook ( item ) ;
39
-
40
- //startHooks(item, true);
41
39
completedRequests ++ ;
42
40
} ) ;
43
41
Original file line number Diff line number Diff line change 72
72
// Hooks
73
73
if (!$ config ['disable_hooks ' ]) {
74
74
echo '
75
- startHooks(); ' ;
75
+ // Avvio hooks dopo 10 secondi
76
+ setTimeout(function() {
77
+ startHooks();
78
+ }, 10*1000); ' ;
76
79
}
77
80
78
81
echo '
Original file line number Diff line number Diff line change 449
449
<a href="#" class="nav-link dropdown-toggle" data-toggle="dropdown">
450
450
<i class="fa fa-bell-o"></i>
451
451
<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>
453
453
<span id="hooks-notified"></span>
454
454
<span id="hooks-counter" class="d-none">0</span>
455
455
<span id="hooks-number" class="d-none">0</span>
You can’t perform that action at this time.
0 commit comments