Brutal icon from Bootstrap...
This commit is contained in:
parent
4e12789a11
commit
8b43d5fbc3
@ -38,7 +38,12 @@ UI.addCenterMapControl = function (map, centerCoords, zoom) {
|
|||||||
controlUI.href = '#';
|
controlUI.href = '#';
|
||||||
controlUI.innerHTML = `
|
controlUI.innerHTML = `
|
||||||
<span class="icon is-medium">
|
<span class="icon is-medium">
|
||||||
<i class="fas fa-lg fa-crosshairs"></i>
|
<i>
|
||||||
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="currentColor" class="pt-2" viewBox="0 0 16 16">
|
||||||
|
<path fill-rule="evenodd" d="M8 3a5 5 0 1 1-4.546 2.914.5.5 0 0 0-.908-.417A6 6 0 1 0 8 2z"/>
|
||||||
|
<path d="M8 4.466V.534a.25.25 0 0 0-.41-.192L5.23 2.308a.25.25 0 0 0 0 .384l2.36 1.966A.25.25 0 0 0 8 4.466"/>
|
||||||
|
</svg>
|
||||||
|
</i>
|
||||||
</span>
|
</span>
|
||||||
`;
|
`;
|
||||||
return controlDiv;
|
return controlDiv;
|
||||||
@ -167,9 +172,6 @@ UI.openNotConserModal = async function (data, selector) {
|
|||||||
const biblio = document.querySelector('#biblio');
|
const biblio = document.querySelector('#biblio');
|
||||||
if (event.target.id.includes('cit')) {
|
if (event.target.id.includes('cit')) {
|
||||||
|
|
||||||
// DEBUG
|
|
||||||
console.log(event.target.id);
|
|
||||||
|
|
||||||
const id = event.target.id.replace('cit-','');
|
const id = event.target.id.replace('cit-','');
|
||||||
|
|
||||||
biblio.innerHTML = '<button class="delete"></button>';
|
biblio.innerHTML = '<button class="delete"></button>';
|
||||||
|
Loading…
Reference in New Issue
Block a user