Browse Source

Remove inline styles

master
F.W. Dekker 3 months ago
parent
commit
38d91d8a9c
Signed by: FWDekker GPG Key ID: B1B567AF58D6EE0F
  1. 2644
      package-lock.json
  2. 6
      package.json
  3. 4
      src/main/index.html
  4. 4
      src/main/js/main.js

2644
package-lock.json
File diff suppressed because it is too large
View File

6
package.json

@ -1,6 +1,6 @@
{
"name": "converter",
"version": "1.4.10",
"version": "1.4.11",
"description": "Convert numbers to and from various bases.",
"author": "Felix W. Dekker",
"browser": "dist/bundle.js",
@ -19,7 +19,7 @@
"big-integer": "^1.6.48"
},
"devDependencies": {
"grunt": "^1.3.0",
"grunt": "^1.4.0",
"grunt-cli": "^1.4.2",
"grunt-contrib-clean": "^2.0.0",
"grunt-contrib-copy": "^1.0.0",
@ -27,7 +27,7 @@
"grunt-focus": "^1.0.0",
"grunt-text-replace": "^0.4.0",
"grunt-webpack": "^4.0.3",
"webpack": "^5.33.2",
"webpack": "^5.36.0",
"webpack-cli": "^4.6.0"
}
}

4
src/main/index.html

@ -19,13 +19,13 @@
<noscript>
<img src="https://stats.fwdekker.com/count?p=/tools/converter/" alt="Counting pixel" />
<p style="color: red; font-weight: bold;">
<p>
This website does not function if JavaScript is disabled.
Please check the <a href="https://www.enable-javascript.com/">
instructions on how to enable JavaScript in your web browser</a>.
</p>
</noscript>
<main style="display: none;">
<main class="hidden">
<div id="nav"></div>
<div id="contents">
<div id="header"></div>

4
src/main/js/main.js

@ -1,5 +1,5 @@
// noinspection JSUnresolvedVariable
const {$, doAfterLoad, footer, header, nav, showPage} = window.fwdekker;
const {$, doAfterLoad, footer, header, nav} = window.fwdekker;
import bigInt from "big-integer"
@ -223,7 +223,7 @@ doAfterLoad(() => {
vcsURL: "https://git.fwdekker.com/FWDekker/converter/",
version: "v%%VERSION_NUMBER%%"
}));
showPage();
$("main").classList.remove("hidden");
});
doAfterLoad(() => {

Loading…
Cancel
Save