diff --git a/public/js/index.js b/public/js/index.js index 80b23d278..a61a3c3cb 100644 --- a/public/js/index.js +++ b/public/js/index.js @@ -621,6 +621,11 @@ Visibility.change(function (e, state) { // when page ready $(document).ready(function () { + // set global ajax timeout + $.ajaxSetup({ + timeout: 10000 + }) + idle.checkAway() checkResponsive() // if in smaller screen, we don't need advanced scrollbar