add apiKey management
This commit is contained in:
@@ -29,13 +29,10 @@ include_once 'events.inc.php';
|
||||
function openModal(modalId){
|
||||
var modalElement = document.querySelector(modalId);
|
||||
if( modalElement === null ){
|
||||
console.log(`No modalElement by name ${modalId} found. Won't open!`);
|
||||
return;
|
||||
}
|
||||
var modalInstance = M.Modal.getInstance(modalElement);
|
||||
console.log("before opening: ", modalInstance);
|
||||
modalInstance.open();
|
||||
console.log("after opening: ", modalInstance);
|
||||
}
|
||||
|
||||
// What to do when the document is loaded.
|
||||
|
||||
Reference in New Issue
Block a user