switch to console.debug

This commit is contained in:
Ross
2022-06-03 14:55:45 +01:00
parent 1f00b7134e
commit a0b5cdf053
3 changed files with 96 additions and 96 deletions
+3 -3
View File
@@ -409,7 +409,7 @@ export function changeControlSelection() {
* @param {*} event - KeyEvent
*/
export function keydown_handler(event) {
//console.log(event);
//console.debug(event);
const target_element = event.target.tagName;
// Cancel if no active element
@@ -588,7 +588,7 @@ export function openMainImage(current_question, t, source) {
toolStateManager.restoreToolState(tool_state);
}
async function load(images, annotations) {
//console.log("Load function", images)
//console.debug("Load function", images)
const imageIds = [];
for (let i = 0; i < images.length; i++) {
const data_url = images[i];
@@ -633,7 +633,7 @@ export function openMainImage(current_question, t, source) {
if (/(?:\/|^)[^.\/]+$/.test(url)) {
url = "wadouri:" + url;
}
//console.log(url)
//console.debug(url)
loadAnnotation(url, annotation);