Skip to content

Commit

Permalink
feat: rollup parse index.html #15
Browse files Browse the repository at this point in the history
  • Loading branch information
sergiomrebelo committed Jun 19, 2023
1 parent 79fdcb5 commit 39c5deb
Show file tree
Hide file tree
Showing 8 changed files with 6,561 additions and 16 deletions.
4 changes: 3 additions & 1 deletion src/public/main.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const bootstrap = require('bootstrap');
const bootstrap = require('bootstrap'); // ✅
const style = require('./main.css');

const availableLanguages = [
Expand Down Expand Up @@ -27,6 +27,7 @@ window.onload = () => {
form.addEventListener('submit', get);
inputImages.addEventListener('change', _uploadImages);

// ✅ DONE
for (let lang of availableLanguages) {
const option = document.createElement("option");
option.textContent = lang;
Expand All @@ -35,6 +36,7 @@ window.onload = () => {
document.getElementById('formControlLang').appendChild(option);
}

// ❌
document.getElementById('lineDivisionCheck').addEventListener('change', (e) => {
if (e.target.checked) {
document.getElementById('textDelimiterField').classList.add('d-none');
Expand Down
Loading

0 comments on commit 39c5deb

Please sign in to comment.