We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 16baf2e + 09e76ad commit 0d75ce4Copy full SHA for 0d75ce4
README.md
@@ -91,10 +91,11 @@ $.jTimeout().setExpiration(1440);
91
### Recommended reset usage
92
Everytime you request a page that extends a user's session, use the reset function:
93
```javascript
94
-$.get('/my-ajax-page', function(data){
+$(document).ajaxStop(function(){
95
$.jTimeout().reset();
96
//handle ajax response
97
});
98
+//warning: If $.ajax() or $.ajaxSetup() is called with the global option set to false, the .ajaxStop() method will not fire.
99
```
100
101
### If you want to use your own modal
0 commit comments