Update query parameters form to include iframe

This commit is contained in:
Jeremy Zhang
2018-04-26 03:19:40 +00:00
parent 0be77e0a50
commit d7590a2915
4 changed files with 10 additions and 3 deletions

View File

@ -20,10 +20,12 @@
url += `${name}=${value}`;
}
$("#queryparam_url").val(url);
$("#queryparam_iframe").val("<iframe src=\"" + url + "\" height=\"600\" width=\"800\" frameborder=\"0\"></iframe>");
}
$(function () {
$("input.queryparam").change(updateQueryParameters);
$("#queryparam_guildid").change(updateQueryParameters);
updateQueryParameters();
});
})();