Open category link in new tab

This commit is contained in:
the1812 2020-04-15 20:22:54 +08:00
parent 22ca04dc16
commit 5aea4eb576
8 changed files with 10 additions and 10 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -37,7 +37,7 @@
"custom-navbar.min.js": "CFA72DB7FE7CDF722BD0523579B5FFB1A3BE9A00057E1EA14E7CF24F5AF62C33",
"custom-navbar-activities.min.js": "802226FE2C24D56379A6EAD13D3697A4D5A46109D0C63EDACAE8E667ED267EA1",
"custom-navbar-blank.min.js": "DC2B75D5760EECD3A257785FDFBB7E5DEBF61CD9083C68DD5BCE468B093F54F3",
"custom-navbar-category.min.js": "258F74493A8361EA5B3DB3A1DCEB8D9C73B1C3F4BBA10A10C6ED9D0B27B80E03",
"custom-navbar-category.min.js": "A39AC67BB5B31E2DC09528DE5B07A9EB105A5265A42C164BA660F79211B9FD7C",
"custom-navbar-component.min.js": "1E19E02F7BFCC3397C14907EC8390F03522E128B528CB82412F202BAF57C28E9",
"custom-navbar-favorites-list.min.js": "1A4DE7241209A663C4FC0F2811B401515C5FC652BB9F13AE0569253D51097024",
"custom-navbar-history-list.min.js": "E58A6B853AFEFCAE9868711D6E637C4264B5C9D0C76DBD180E9EA55D1876FFFA",

Binary file not shown.

File diff suppressed because one or more lines are too long

View File

@ -13,7 +13,7 @@ export class Category extends NavbarComponent {
...
</li>
<li class="category-item" style="display: none" :style="{display: loading ? 'none' : 'list-item'}" v-for="item of info" :class="{ main: item[1].count }">
<a :href="item[1].link">
<a :href="item[1].link" target="_blank">
<svg aria-hidden="true">
<use :href="'#header-icon-' + item[1].icon" :xlink:href="'#header-icon-' + item[1].icon"></use>
</svg>
@ -21,7 +21,7 @@ export class Category extends NavbarComponent {
<span>{{item[1].count}}</span>
</a>
<div class="popup" v-if="item[1].subRegions">
<a v-for="region of Object.entries(item[1].subRegions)" :href="region[1]">
<a v-for="region of Object.entries(item[1].subRegions)" :href="region[1]" target="_blank">
{{region[0]}}
</a>
</div>