reset error message on start
parent
2f15ae8681
commit
0d516f0da3
|
@ -322,6 +322,7 @@ class ProfileGenerator {
|
|||
event.preventDefault();
|
||||
var input = this.json.value;
|
||||
var json = {};
|
||||
this.error.innerHTML = "";
|
||||
try {
|
||||
json = JSON.parse(input);
|
||||
} catch (e) {
|
||||
|
|
|
@ -498,6 +498,7 @@ var ProfileGenerator = (function () {
|
|||
event.preventDefault();
|
||||
var input = this.json.value;
|
||||
var json = {};
|
||||
this.error.innerHTML = "";
|
||||
try {
|
||||
json = JSON.parse(input);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue