Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Pédagogies Multimodales
PhonoDrop
Commits
33493fab
Commit
33493fab
authored
Jan 31, 2022
by
Sylvain Coulange
🌼
Browse files
désactiver erasePinyin() dans syllabe phono
parent
5ff56aea
Changes
2
Hide whitespace changes
Inline
Side-by-side
public/index.html
View file @
33493fab
...
...
@@ -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"
>
...
...
public/scripts/sinosyllabe.js
View file @
33493fab
...
...
@@ -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
"
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment