Commit 33493fab authored by Sylvain Coulange's avatar Sylvain Coulange
Browse files

désactiver erasePinyin() dans syllabe phono

parent 5ff56aea
......@@ -350,7 +350,7 @@
<div class="d-flex justify-content-around m-2" style="width:100%;">
<button type="button" class="btn btn-primary" onclick="space()">空格</button>
<button type="button" class="btn btn-outline-success px-5" onclick="recupPhon('syll_'+[currentSyll.initiale.phon, currentSyll.glide.phon, currentSyll.tonale.phon, currentSyll.finale.phon, currentSyll.tone].join('.'))">OK了!</button>
<button type="button" class="btn btn-danger" onclick="erasePinyin()">重置</button>
<!-- <button type="button" class="btn btn-danger" onclick="erasePinyin()">重置</button> -->
</div>
</div>
<div class="tab-pane fade" id="nav-pinyin" role="tabpanel" aria-labelledby="nav-pinyin-tab">
......
......@@ -397,11 +397,11 @@ function validPinyin() {
}
function erasePinyin() {
$("#syll1").click();
$("#syll2").click();
$("#syll3").click();
$("#syll4").click();
toggleTone(5);
// $("#syll1").click();
// $("#syll2").click();
// $("#syll3").click();
// $("#syll4").click();
// toggleTone(5);
document.getElementById('pinyinLab').innerHTML = '';
document.getElementById('pinyinLabAPI').innerHTML = '';
document.getElementById('pinyinLab').classList.remove("pinyinAtteste");
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment