fixes for edge

This commit is contained in:
Kyle Spearrin 2017-11-15 12:08:32 -05:00
parent c6c8042ecf
commit 2f7b6790db
4 changed files with 7 additions and 13 deletions

View File

@ -1,7 +1,5 @@
<div class="header">
<div class="left">
<pop-out></pop-out>
</div>
<pop-out class="left"></pop-out>
<div class="title">{{i18n.settings}}</div>
</div>
<div class="content content-tabs">

View File

@ -1,7 +1,5 @@
<div class="header">
<div class="left">
<pop-out></pop-out>
</div>
<pop-out class="left"></pop-out>
<div class="title">{{$ctrl.i18n.tools}}</div>
</div>
<div class="content content-tabs">

View File

@ -1,7 +1,5 @@
<div class="header header-search">
<div class="left">
<pop-out></pop-out>
</div>
<pop-out class="left"></pop-out>
<div class="search" ng-style="{'visibility': disableSearch ? 'hidden' : 'visible'}">
<input type="search" placeholder="{{::i18n.searchVault}}" id="search" ng-model="searchText" />
<i class="fa fa-search"></i>

View File

@ -300,7 +300,7 @@ export default class UtilsService implements UtilsServiceInterface {
}
const sectionItems = doc.querySelectorAll('.list-section-item');
for (const item of sectionItems) {
sectionItems.forEach((item) => {
item.addEventListener('click', (e) => {
if (e.defaultPrevented) {
return;
@ -340,11 +340,11 @@ export default class UtilsService implements UtilsServiceInterface {
}
}
}, false);
}
});
const sectionFormItems = doc.querySelectorAll(
'.list-section-item input, .list-section-item select, .list-section-item textarea');
for (const item of sectionFormItems) {
sectionFormItems.forEach((item) => {
item.addEventListener('focus', (e: Event) => {
const el = e.target as HTMLElement;
const cell = el.closest('.list-section-item');
@ -364,7 +364,7 @@ export default class UtilsService implements UtilsServiceInterface {
cell.classList.remove('active');
}, false);
}
});
}
getDomain(uriString: string): string {