Skip to content
Snippets Groups Projects
Commit 856a37ba authored by Elmar Ludwig's avatar Elmar Ludwig
Browse files

prevent default event handler, fixes #808

parent 398f2017
No related branches found
No related tags found
No related merge requests found
<template>
<div class="cw-collapsible" :class="{ 'cw-collapsible-open': isOpen }">
<a href="#" :aria-expanded="isOpen" @click="isOpen = !isOpen">
<a href="#" :aria-expanded="isOpen" @click.prevent="isOpen = !isOpen">
<header :class="{ 'cw-collapsible-open': isOpen }" class="cw-collapsible-title">
<studip-icon v-if="icon" :shape="icon" /> {{ title }}
</header>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment