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:
parent
4622ebd8d9
commit
175b97f7a2
@ -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>
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user