Bump version to 1.6.2.0 and update changelog for new features
All checks were successful
Auto Release Plugin / build-and-release (push) Successful in 52s
All checks were successful
Auto Release Plugin / build-and-release (push) Successful in 52s
This commit is contained in:
@@ -277,9 +277,7 @@ function createSettingsPopup(anchorElement) {
|
||||
popup.style.top = `${rect.bottom + 10}px`;
|
||||
popup.style.right = `${window.innerWidth - rect.right}px`;
|
||||
|
||||
popup.innerHTML = `
|
||||
<h2 style="margin: 0 0 1em 0; font-size: 1.2em;">Seasonals</h2>
|
||||
|
||||
popup.innerHTML = `
|
||||
<div class="checkboxContainer checkboxContainer-withDescription" style="margin-bottom: 1.5em;">
|
||||
<label class="emby-checkbox-label">
|
||||
<input id="seasonal-enable-toggle" type="checkbox" is="emby-checkbox" class="emby-checkbox" />
|
||||
@@ -289,16 +287,10 @@ function createSettingsPopup(anchorElement) {
|
||||
|
||||
<div class="selectContainer">
|
||||
<label class="selectLabel" for="seasonal-theme-select" style="margin-bottom: 0.5em; display: block; color: inherit;">Force Theme</label>
|
||||
<select is="emby-select" id="seasonal-theme-select" class="emby-select-withcolor emby-select" style="width: 100%; padding: 0.5em; background: rgba(0,0,0,0.2); border: 1px solid rgba(255,255,255,0.1); color: inherit; border-radius: 4px;">
|
||||
<select is="emby-select" id="seasonal-theme-select" class="emby-select-withcolor emby-select" style="width: 100%; padding: 0.5em; background-color: rgba(0,0,0,0.2); border: 1px solid rgba(255,255,255,0.1); color: inherit; border-radius: 4px;">
|
||||
<option value="auto">Auto (Date Based)</option>
|
||||
</select>
|
||||
</div>
|
||||
|
||||
<div style="margin-top: 1.5em; text-align: right;">
|
||||
<button is="emby-button" type="button" class="raised emby-button button-submit" id="seasonal-close-btn">
|
||||
Close
|
||||
</button>
|
||||
</div>
|
||||
`;
|
||||
|
||||
// Populate Select Options
|
||||
@@ -329,10 +321,6 @@ function createSettingsPopup(anchorElement) {
|
||||
location.reload();
|
||||
});
|
||||
|
||||
popup.querySelector('#seasonal-close-btn').addEventListener('click', () => {
|
||||
popup.remove();
|
||||
});
|
||||
|
||||
// Close on click outside
|
||||
const closeHandler = (e) => {
|
||||
if (!popup.contains(e.target) && e.target !== anchorElement && !anchorElement.contains(e.target)) {
|
||||
|
||||
Reference in New Issue
Block a user