live coder load on question template
This commit is contained in:
@ -113,7 +113,8 @@ $(function(){
|
||||
});
|
||||
|
||||
// If JavaScript is enabled, display the livecoder section dynamically
|
||||
$("[data-id='live-coder-answer']").load("live-coder-chunk.php .layout", function(){
|
||||
var qid = 257208768;
|
||||
$("[data-id='live-coder-answer']").load("/live-coder-entry/" + qid, function(){
|
||||
// if it loads in, and hide "finish later" checkbox
|
||||
$("[data-id='live-coder-finish-later']").addClass("hidden");
|
||||
$('.js-error').addClass('hidden');
|
||||
|
Reference in New Issue
Block a user