Simplified some new TypeScript demo code.
This commit is contained in:
parent
cf612ec2dc
commit
146105007c
|
@ -27,8 +27,8 @@
|
|||
namespace app {
|
||||
|
||||
function initialize(): void {
|
||||
(document.getElementById("loading") as HTMLElement).style.display = "none";
|
||||
(document.getElementById("loaded") as HTMLElement).style.removeProperty("display");
|
||||
getElem("loading").style.display = "none";
|
||||
getElem("loaded").style.removeProperty("display");
|
||||
let elems = document.querySelectorAll("input[type=number], textarea");
|
||||
for (let el of elems) {
|
||||
if (el.id.indexOf("version-") != 0)
|
||||
|
|
Loading…
Reference in New Issue