fix(character/achievements): correctly show main categories' achievements
This commit is contained in:
parent
e897b011ac
commit
bba163aa51
3 changed files with 7 additions and 8 deletions
4
package-lock.json
generated
4
package-lock.json
generated
|
|
@ -1,12 +1,12 @@
|
|||
{
|
||||
"name": "azerothcore-armory",
|
||||
"version": "0.6.1",
|
||||
"version": "0.6.2",
|
||||
"lockfileVersion": 2,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "azerothcore-armory",
|
||||
"version": "0.6.1",
|
||||
"version": "0.6.2",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@supercharge/promise-pool": "^2.1.0",
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "azerothcore-armory",
|
||||
"version": "0.6.1",
|
||||
"version": "0.6.2",
|
||||
"description": "",
|
||||
"scripts": {
|
||||
"build": "tsc -p tsconfig.json",
|
||||
|
|
|
|||
|
|
@ -11,8 +11,8 @@
|
|||
<img id="total-points-icon" src="/img/UI-Achievement-TinyShield.png">
|
||||
</div>
|
||||
</div>
|
||||
<br>
|
||||
<br>
|
||||
<br class="is-hidden-touch">
|
||||
<br class="is-hidden-touch">
|
||||
|
||||
<div class="columns is-multiline">
|
||||
<div class="column is-one-fifth-desktop is-full-tablet">
|
||||
|
|
@ -70,7 +70,7 @@
|
|||
.attr("href", "#")
|
||||
.text(cat.nameLang0)
|
||||
.on("click", () => {
|
||||
if ($openCategory !== undefined && !$openCategory.data("children")[0].contains($a[0])) {
|
||||
if ($openCategory !== undefined && $openCategory !== $a && !$openCategory.data("children")[0].contains($a[0])) {
|
||||
closeCategory();
|
||||
}
|
||||
|
||||
|
|
@ -81,9 +81,8 @@
|
|||
// Open the clicked category
|
||||
$children.slideDown();
|
||||
}
|
||||
} else {
|
||||
openCategory(cat);
|
||||
}
|
||||
openCategory(cat);
|
||||
return false;
|
||||
});
|
||||
return $a;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue