1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-29 12:55:21 +01:00

remove inline js for links since it violates CSP

This commit is contained in:
Kyle Spearrin 2016-09-21 16:35:01 -04:00
parent 7d2a16c1f4
commit 81b8626d2b

View File

@ -1,6 +1,6 @@
<div class="header">
<div class="right">
<a href="javascript:void(0)" ng-click="addSite()"><i class="fa fa-plus fa-lg"></i></a>
<a href="" ng-click="addSite()"><i class="fa fa-plus fa-lg"></i></a>
</div>
<div class="search">
<input type="search" placeholder="Search vault" ng-model="searchText" id="search" />
@ -36,7 +36,7 @@
</div>
</div>
<div ng-if="loaded && !vaultSites.length">
<p>No sites to list. <a href="javascript:void(0)" ng-click="addSite()">Add one</a></p>
<p>No sites to list. <a href="" ng-click="addSite()">Add one</a></p>
</div>
<div ng-if="!loaded">
<p><i class="fa fa-lg fa-spinner fa-spin"></i></p>