Skip to content

Commit c2be324

Browse files
committed
2 parents ef3a0bb + 0667df0 commit c2be324

File tree

4 files changed

+7
-5
lines changed

4 files changed

+7
-5
lines changed

assets/src/css/style.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1390,12 +1390,13 @@ input.small-width {
13901390
font-size: 10px;
13911391
min-width: 18px;
13921392
height: 18px;
1393-
line-height: 18px;
13941393
border-radius: 9px;
13951394
padding: 0 6px;
13961395
display: inline-flex;
13971396
align-items: center;
13981397
justify-content: center;
1398+
vertical-align: middle;
1399+
margin-top: -3px;
13991400
}
14001401

14011402
/* Stili per il contenuto delle notifiche migliorato */

assets/src/js/functions/hooks.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff 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

include/bottom.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,10 @@
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 '

include/top.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -449,7 +449,7 @@
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>

0 commit comments

Comments
 (0)