suppression console.log
This commit is contained in:
parent
cd2d090a8b
commit
8edd29abaa
1 changed files with 1 additions and 6 deletions
|
@ -2,9 +2,6 @@
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<script src="http://play.workadventure.localhost/iframe_api.js"></script>
|
<script src="http://play.workadventure.localhost/iframe_api.js"></script>
|
||||||
<script>
|
|
||||||
console.log('script');
|
|
||||||
</script>
|
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<button id="sendchat">Send chat message</button>
|
<button id="sendchat">Send chat message</button>
|
||||||
|
@ -22,17 +19,15 @@
|
||||||
}));
|
}));
|
||||||
</script>
|
</script>
|
||||||
<div>
|
<div>
|
||||||
<label for="visibilityLayer">Metadata Layer</label><input type="checkbox" id="visibilityLayer" name="visible" value="show">
|
<label for="visibilityLayer">Metadata Layer</label><input type="checkbox" id="visibilityLayer" name="visible" value="show" checked>
|
||||||
</div>
|
</div>
|
||||||
<script>
|
<script>
|
||||||
document.getElementById('visibilityLayer').onclick = () => {
|
document.getElementById('visibilityLayer').onclick = () => {
|
||||||
if (document.getElementById('visibilityLayer').checked) {
|
if (document.getElementById('visibilityLayer').checked) {
|
||||||
WA.showLayer('Metadata');
|
WA.showLayer('Metadata');
|
||||||
console.log('show');
|
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
WA.hideLayer('Metadata');
|
WA.hideLayer('Metadata');
|
||||||
console.log('hide');
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue