Private
Public Access
1
0

clearing local storage on logout

This commit is contained in:
Sander Roosendaal
2018-10-23 10:56:26 +02:00
parent c3dc038c31
commit c967d495f1
4 changed files with 19 additions and 1 deletions

View File

@@ -8,7 +8,9 @@
function(i, obj) {
var theid = $(this).attr('id');
var state = localStorage.getItem(theid);
if (state !== null) {
$(this).find('input:first').prop("checked",state);
};
});
});
$(function() {