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",
|
"name": "azerothcore-armory",
|
||||||
"version": "0.6.1",
|
"version": "0.6.2",
|
||||||
"lockfileVersion": 2,
|
"lockfileVersion": 2,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "azerothcore-armory",
|
"name": "azerothcore-armory",
|
||||||
"version": "0.6.1",
|
"version": "0.6.2",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@supercharge/promise-pool": "^2.1.0",
|
"@supercharge/promise-pool": "^2.1.0",
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "azerothcore-armory",
|
"name": "azerothcore-armory",
|
||||||
"version": "0.6.1",
|
"version": "0.6.2",
|
||||||
"description": "",
|
"description": "",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "tsc -p tsconfig.json",
|
"build": "tsc -p tsconfig.json",
|
||||||
|
|
|
||||||
|
|
@ -11,8 +11,8 @@
|
||||||
<img id="total-points-icon" src="/img/UI-Achievement-TinyShield.png">
|
<img id="total-points-icon" src="/img/UI-Achievement-TinyShield.png">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<br>
|
<br class="is-hidden-touch">
|
||||||
<br>
|
<br class="is-hidden-touch">
|
||||||
|
|
||||||
<div class="columns is-multiline">
|
<div class="columns is-multiline">
|
||||||
<div class="column is-one-fifth-desktop is-full-tablet">
|
<div class="column is-one-fifth-desktop is-full-tablet">
|
||||||
|
|
@ -70,7 +70,7 @@
|
||||||
.attr("href", "#")
|
.attr("href", "#")
|
||||||
.text(cat.nameLang0)
|
.text(cat.nameLang0)
|
||||||
.on("click", () => {
|
.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();
|
closeCategory();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -81,9 +81,8 @@
|
||||||
// Open the clicked category
|
// Open the clicked category
|
||||||
$children.slideDown();
|
$children.slideDown();
|
||||||
}
|
}
|
||||||
} else {
|
|
||||||
openCategory(cat);
|
|
||||||
}
|
}
|
||||||
|
openCategory(cat);
|
||||||
return false;
|
return false;
|
||||||
});
|
});
|
||||||
return $a;
|
return $a;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue