mirror of
https://github.com/aljazceru/CTFd.git
synced 2025-12-17 22:14:25 +01:00
Fix some JS issues
This commit is contained in:
@@ -376,7 +376,7 @@ function loadchal(id, update) {
|
||||
//})
|
||||
if (typeof update === 'undefined')
|
||||
$('#update-challenge').modal();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
function openchal(id){
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
$.ajaxSetup({ cache: false });
|
||||
function load_chal_template(challenge){
|
||||
$.get(script_root + challenge.templates.create, function(template_data){
|
||||
var template = Handlebars.compile(template_data);
|
||||
|
||||
Reference in New Issue
Block a user