Skip to content

Commit

Permalink
Fix window refresh with remembered search. Bump to test version, upda…
Browse files Browse the repository at this point in the history
…te changelog
  • Loading branch information
jtsage committed Jan 25, 2023
1 parent 37f2158 commit 37f25f9
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 11 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "fsg-mod-assistant",
"version": "1.9.2",
"version": "1.9.9",
"description": "FSG Farm Sim Mod Assistant",
"main": "modAssist_main.js",
"homepage": "https://github.com/FSGModding/FSG_Mod_Assistant#readme",
Expand Down
5 changes: 5 additions & 0 deletions renderer/a_changelog.html
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,11 @@ <h2 class="ps-2 mastHead"><l10n name="app_name"></l10n> <l10n class="ver" name="
<div class="row">
<div class="col-auto"><img style="width: auto; height: 200px" src="img/sidebar.png"></div>
<div class="col">
<h4>2.0.0</h4>
<ul>
<li>Rework mod filtering to a unified interface</li>
<li>FIX: Add "select active" mods to savegame compare</li>
</ul>
<h4>1.9.2</h4>
<ul>
<li>FIX: Cache cleaning could happen "invisibly", add a timeout</li>
Expand Down
9 changes: 0 additions & 9 deletions renderer/main.html
Original file line number Diff line number Diff line change
Expand Up @@ -149,15 +149,6 @@ <h2 class="ps-2 mastHead">
<span id="filter_clear" onclick="clientClearInput()" class="form-control-clear bi bi-eraser form-control-feedback position-absolute d-none" style="right:10px; cursor:pointer; z-index:100; top:5px; color:black;"></span>
</div>
</div>
<!-- <div class="col col-auto">
<div class="btn-group btn-group-sm">
<input type="checkbox" id="filter__show_non_mod" onchange="select_lib.filter()" class="btn-check mod-row-filter_check" autocomplete="off" checked>
<label class="btn btn-outline-success" for="filter__show_non_mod"><l10n name="show_non_mod"></l10n></label>
<input type="checkbox" id="filter__show_broken" onchange="select_lib.filter()" class="btn-check mod-row-filter_check" autocomplete="off" checked>
<label class="btn btn-outline-success" for="filter__show_broken"><l10n name="show_broken"></l10n></label>
</div>
</div> -->

<div class="col col-auto">
<div class="dropdown">
Expand Down
2 changes: 1 addition & 1 deletion renderer/renderJS/assist_ui.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ window.mods.receive('fromMain_modList', (opts) => {

const lastOpenAcc = document.querySelector('.accordion-collapse.show')
const lastOpenID = (lastOpenAcc !== null) ? lastOpenAcc.id : null
const lastOpenQ = (lastOpenAcc !== null) ? lastOpenAcc.querySelector('input.mod-row-filter').value : ''
const lastOpenQ = (lastOpenAcc !== null) ? fsgUtil.byId('filter_input').value : ''
const scrollStart = window.scrollY

const selectedList = ( opts.activeCollection !== '999' && opts.activeCollection !== '0') ? `collection--${opts.activeCollection}` : opts.activeCollection
Expand Down

0 comments on commit 37f25f9

Please sign in to comment.