Skip to content

Commit de097f8

Browse files
authored
Merge pull request #142 from Leogendra/develop
Fix: set default values when settings are not loaded
2 parents e62eaed + 9bd4c34 commit de097f8

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

index.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@ <h3>Stopwords settings</h3>
323323

324324
<div class="option-item">
325325
<label for="minCountInput" title="Minimum number of time this words appears in your Pixels">Minimum count</label>
326-
<input type="number" id="minCountInput" class="input-nb" min="1">
326+
<input type="number" id="minCountInput" class="input-nb" min="1" value="10">
327327
</div>
328328

329329
<div class="option-item">
@@ -343,17 +343,17 @@ <h3>Stopwords settings</h3>
343343
<div class="options">
344344
<div class="option-item">
345345
<label for="wordcloudSize" title="Size of displayed words">Word size</label>
346-
<input type="number" id="wordcloudSize" class="input-nb" min="1">
346+
<input type="number" id="wordcloudSize" class="input-nb" min="1" value="4">
347347
</div>
348348

349349
<div class="option-item">
350350
<label for="wordcloudSpacing" title="How close the wordcloud words are to each other">Word spacing</label>
351-
<input type="number" id="wordcloudSpacing" class="input-nb" min="1">
351+
<input type="number" id="wordcloudSpacing" class="input-nb" min="1" value="2">
352352
</div>
353353

354354
<div class="option-item">
355355
<label for="wordcloudCompression" title="If this number is high, bigger words will have a more similar size than smaller words">Words compression</label>
356-
<input type="number" id="wordcloudCompression" class="input-nb" min="1" max="10">
356+
<input type="number" id="wordcloudCompression" class="input-nb" min="1" max="10" value="4">
357357
</div>
358358
</div>
359359

@@ -540,7 +540,7 @@ <h3>Map Custom Moods to Scores</h3>
540540
<img src="assets/logos/kofi.png" alt="Ko-fi">
541541
</a>
542542
</div>
543-
<div class="version">Version: v1.8.3</div>
543+
<div class="version">Version: v1.8.4</div>
544544
</footer>
545545

546546
<!-- Charts.js for graphs -->

0 commit comments

Comments
 (0)