...
This commit is contained in:
parent
c4913ab883
commit
56ff8aafc0
4
main.js
4
main.js
@ -97,12 +97,12 @@ function rememberStuff() {
|
|||||||
document.cookie = 'serv={};expires=0;path=/;';
|
document.cookie = 'serv={};expires=0;path=/;';
|
||||||
}
|
}
|
||||||
if(saved[document.location]) {
|
if(saved[document.location]) {
|
||||||
document.getElementsByTagName('form')[0].body.value = saved[document.location];
|
document.forms.post.body.value = saved[document.location];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if(localStorage.body) {
|
if(localStorage.body) {
|
||||||
document.getElementsByTagName('form')[0].body.value = localStorage.body;
|
document.forms.post.body.value = localStorage.body;
|
||||||
localStorage.body = '';
|
localStorage.body = '';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -97,12 +97,12 @@ function rememberStuff() {
|
|||||||
document.cookie = '{config[cookies][js]}={};expires=0;path=/;';
|
document.cookie = '{config[cookies][js]}={};expires=0;path=/;';
|
||||||
}
|
}
|
||||||
if(saved[document.location]) {
|
if(saved[document.location]) {
|
||||||
document.getElementsByTagName('form')[0].body.value = saved[document.location];
|
document.forms.post.body.value = saved[document.location];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if(localStorage.body) {
|
if(localStorage.body) {
|
||||||
document.getElementsByTagName('form')[0].body.value = localStorage.body;
|
document.forms.post.body.value = localStorage.body;
|
||||||
localStorage.body = '';
|
localStorage.body = '';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user