diff --git a/assets/js/scattport.js b/assets/js/scattport.js index 9b8126c..746c1d5 100644 --- a/assets/js/scattport.js +++ b/assets/js/scattport.js @@ -133,6 +133,12 @@ $(document).ready(function() { /* * Notification stuff */ + + // set a default JOBS_CHECK_INTERVAL + if(typeof(window.JOBS_CHECK_INTERVAL) == "undefined") { + JOBS_CHECK_INTERVAL = 5; + } + $('#notifications').hide(); getNotifications(); setInterval('getNotifications()', '5000');