mirror of
https://github.com/bunkerity/bunkerweb
synced 2026-05-24 09:28:37 +00:00
fix: adjust minimum settings requirement for non-draft forms
This commit is contained in:
parent
a94d7c7a97
commit
cea64f0ad6
1 changed files with 1 additions and 1 deletions
|
|
@ -1138,7 +1138,7 @@ $(document).ready(() => {
|
|||
const form = getFormFromSettings($(this));
|
||||
if (currentMode !== "easy") {
|
||||
let minSettings = 4;
|
||||
if (!form.find("input[name='IS_DRAFT']").length) minSettings = 2;
|
||||
if (!form.find("input[name='IS_DRAFT']").length) minSettings = 1;
|
||||
|
||||
const draftInput = $("#is-draft");
|
||||
const wasDraft = draftInput.data("original") === "yes";
|
||||
|
|
|
|||
Loading…
Reference in a new issue