Skip to content
Permalink
Browse files

Don't use fold5 for things that are not conflicts.

  • Loading branch information
kohler committed Feb 9, 2020
1 parent 78d249a commit cbd016d1c50c59f24315447e8d9d5c77b251b374
Showing with 3 additions and 3 deletions.
  1. +1 −1 scripts/settings.js
  2. +2 −2 src/settings/s_options.php
@@ -35,7 +35,7 @@ handle_ui.on("js-settings-option-description", function () {
});

handle_ui.on("js-settings-option-presence", function (event) {
foldup.call(this, null, {n: 5, f: false});
foldup.call(this, null, {n: 10, f: false});
foldup.call(this, null, {n: 9, f: false});
if (document.activeElement === this)
$(this).closest(".settings-opt").find(".settings-opt-presence").focus();
@@ -67,8 +67,8 @@ static function render_description_property(SettingValues $sv, PaperOption $o, $
. '</div></div>';
}
static function render_presence_property(SettingValues $sv, PaperOption $o, $xpos, $self, $gj) {
$self->add_option_class("fold5" . ($o->final || !$o->id ? "o" : "c"));
return '<div class="' . $sv->control_class("optec_$xpos", "entryi fx5")
$self->add_option_class("fold10" . ($o->final || !$o->id ? "o" : "c"));
return '<div class="' . $sv->control_class("optec_$xpos", "entryi fx10")
. '">' . $sv->label("optec_$xpos", "Condition")
. '<div class="entry">'
. '<span class="sep">'

0 comments on commit cbd016d

Please sign in to comment.
You can’t perform that action at this time.