Skip to content

Commit

Permalink
Fix #26
Browse files Browse the repository at this point in the history
  • Loading branch information
aviwad committed Dec 15, 2019
1 parent 8ea0910 commit 60d8863
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ <h1>Appearances</h1>
<p>Would you want a unique experience and appearance the second you install it, than something with a typical stock appearance/desktop?</p>
<div class="btn-group btn-group-toggle" data-toggle="buttons" href="#chooserCarousel" data-slide="next">
<label class="btn btn-lg btn-purple btn-responsive">
<input type="radio" name="customtweaks" value="0"/> No
<input type="radio" name="customtweaks" value="0"/> Doesn't Matter
</label>
<label class="btn btn-lg btn-purple btn-responsive">
<input type="radio" name="customtweaks" value="1"/> Yes
Expand Down
3 changes: 2 additions & 1 deletion librehunt.js
Original file line number Diff line number Diff line change
Expand Up @@ -795,7 +795,8 @@ function distro(){

// CUSTOM TWEAKS
// if it's a generic desktop (like gnome), or something different (like elementary)
if (SelectedDistros[i].customtweaks == customtweaks){
// if it's same as user choice, or if 0 (doesn't matter)
if (SelectedDistros[i].customtweaks == customtweaks || customtweaks == 0){
SelectedDistros[i].matches.push(0);
}
else {
Expand Down

0 comments on commit 60d8863

Please sign in to comment.