diff --git a/app/contacts/contact_timer.php b/app/contacts/contact_timer.php
index e491771343..cf9ead4ea1 100644
--- a/app/contacts/contact_timer.php
+++ b/app/contacts/contact_timer.php
@@ -312,9 +312,9 @@ if (!permission_exists('contact_time_add')) { echo "access denied"; exit; }
});
setTimeout(ajax_get, refresh);
};
- if ($timer_state == 'running') { ?>
+
ajax_get();
- } ?>
+
});
//set window title to time when timer is running
@@ -350,11 +350,11 @@ if (!permission_exists('contact_time_add')) { echo "access denied"; exit; }