Skip to content

Commit

Permalink
refs #753
Browse files Browse the repository at this point in the history
  • Loading branch information
tgloeggl committed Aug 9, 2023
1 parent cabc389 commit fc51641
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vueapp/components/Studip/StudipActionMenu.vue
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
</div>
<ul class="action-menu-list">
<li v-for="item in navigationItems" :key="item.id" class="action-menu-item">
<a v-if="item.type === 'link'" v-bind="linkAttributes(item)" v-on="linkEvents(item)">
<a v-if="item.type === 'link'" v-bind="linkAttributes(item)" v-on="linkEvents(item)" href="#prevent-default">
<studip-icon v-if="item.icon !== false" :shape="item.icon.shape" :role="item.icon.role"></studip-icon>
<span v-else class="action-menu-no-icon"></span>

Expand All @@ -32,7 +32,7 @@
</div>
</nav>
<nav v-else>
<a v-for="item in navigationItems" :key="item.id" v-bind="linkAttributes(item)" v-on="linkEvents(item)">
<a v-for="item in navigationItems" :key="item.id" v-bind="linkAttributes(item)" v-on="linkEvents(item)" href="#prevent-default">
<studip-icon :title="item.label" :shape="item.icon.shape" :role="item.icon.role" :size="20"></studip-icon>
</a>
</nav>
Expand Down

0 comments on commit fc51641

Please sign in to comment.