select with images
parent
4cc5d6800f
commit
79b192ad1c
|
@ -586,7 +586,15 @@
|
|||
|
||||
<div id="shx-emoji-picker-popup"></div>
|
||||
`;
|
||||
}
|
||||
}
|
||||
|
||||
function toggleCustomEnhancedDropdownFont() {
|
||||
console.log("toggleCustomEnhancedDropdownFont")
|
||||
|
||||
const dropdownContent = document.getElementById("shx-custom-enhanced-dropdown-font-content")
|
||||
|
||||
dropdownContent.style.display = dropdownContent.style.display === 'block' ? 'none' : 'block';
|
||||
}
|
||||
|
||||
function SHX_IFC_genDropdownSelect(inputID, labelText, inputName, inputVal, options, section_id) {
|
||||
let html = `
|
||||
|
@ -603,7 +611,7 @@
|
|||
if (isInputShxFont) {
|
||||
customDropdownHtml += `
|
||||
<div class="shx-custom-enhanced-dropdown field custom">
|
||||
<button class="shx-custom-enhanced-dropdown-dropbtn">
|
||||
<button class="shx-custom-enhanced-dropdown-dropbtn" id="shx-custom-enhanced-dropdown-font-button" onclick="toggleCustomEnhancedDropdownFont()">
|
||||
<div style="display: flex; justify-content: space-between; align-items: center; pointer-events: none">
|
||||
<span>font</span>
|
||||
|
||||
|
@ -613,7 +621,7 @@
|
|||
</div>
|
||||
</button>
|
||||
|
||||
<div class="shx-custom-enhanced-dropdown-content">
|
||||
<div class="shx-custom-enhanced-dropdown-content" id="shx-custom-enhanced-dropdown-font-content">
|
||||
`
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue