1
0
mirror of https://github.com/moparisthebest/mail synced 2024-11-22 17:02:17 -05:00

Prevent CSP warnings for click handlers

This commit is contained in:
Tankred Hase 2014-12-04 12:47:57 +01:00
parent 4622ebd8d9
commit 175b97f7a2
2 changed files with 2 additions and 2 deletions

View File

@ -41,7 +41,7 @@
<p class="typo-paragraph">
<br>
<a href="javascript:;" wo-touch='showDetails = !showDetails; $event.preventDefault()'>
<a href="#" wo-touch="$event.preventDefault(); showDetails = !showDetails">
{{showDetails ? "Hide Options" : "Show Options"}}
</a>
<br><br>

View File

@ -6,7 +6,7 @@
<div class="read__folder-toolbar">
<div class="toolbar">
<a class="toolbar__label" href="javascript:;" wo-touch="state.read.toggle(false)">
<a class="toolbar__label" href="#" wo-touch="$event.preventDefault(); state.read.toggle(false)">
<svg><use xlink:href="#icon-back" /><title>Back</title></svg>
{{state.nav.currentFolder.wellknown ? state.nav.currentFolder.type : state.nav.currentFolder.name}}
</a>