Fixed error message
This commit is contained in:
parent
7b2a99c8a3
commit
971b210438
@ -241,7 +241,7 @@
|
|||||||
var json = JSON.parse(doc);
|
var json = JSON.parse(doc);
|
||||||
doc = JSON.stringify(json, null, 2);
|
doc = JSON.stringify(json, null, 2);
|
||||||
} catch(e) {
|
} catch(e) {
|
||||||
console.log("Not a javascript object!")
|
console.log("Not a JSON object!")
|
||||||
}
|
}
|
||||||
|
|
||||||
$("#preview").text(doc);
|
$("#preview").text(doc);
|
||||||
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user