test if #isso-thread exists
This commit is contained in:
parent
5d0cad4272
commit
b691579bad
@ -11,6 +11,10 @@ require(["ready", "app/api", "app/isso", "app/count", "app/dom", "app/markup"],
|
|||||||
|
|
||||||
count();
|
count();
|
||||||
|
|
||||||
|
if ($("#isso-thread") === null) {
|
||||||
|
return console.log("abort, #isso-thread is missing");
|
||||||
|
}
|
||||||
|
|
||||||
$("#isso-thread").append($.new('h4'));
|
$("#isso-thread").append($.new('h4'));
|
||||||
$("#isso-thread").append(new isso.Postbox(null));
|
$("#isso-thread").append(new isso.Postbox(null));
|
||||||
$("#isso-thread").append('<div id="isso-root"></div>');
|
$("#isso-thread").append('<div id="isso-root"></div>');
|
||||||
|
Loading…
Reference in New Issue
Block a user