aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2017-04-24 16:22:21 +0200
committerFlorian Dold <florian.dold@gmail.com>2017-04-24 16:22:21 +0200
commite57cc0560e182f5fbfa0f4e07c5932c02a76ce9c (patch)
tree869f510678bfb9c41949ba59a91db35d4d5d6f11
parent82f2b76e25a4a67e01ec67e5ebe39d14ad771ea8 (diff)
downloadwallet-core-e57cc0560e182f5fbfa0f4e07c5932c02a76ce9c.tar.xz
adapt auditor page to new module loading strategy
-rw-r--r--src/pages/auditors.tsx2
-rw-r--r--tsconfig.json2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/pages/auditors.tsx b/src/pages/auditors.tsx
index 4aa922128..41339b0d8 100644
--- a/src/pages/auditors.tsx
+++ b/src/pages/auditors.tsx
@@ -115,3 +115,5 @@ class CurrencyList extends React.Component<any, CurrencyListState> {
export function main() {
ReactDOM.render(<CurrencyList />, document.getElementById("container")!);
}
+
+document.addEventListener("DOMContentLoaded", main);
diff --git a/tsconfig.json b/tsconfig.json
index 8164b0bea..da19dba69 100644
--- a/tsconfig.json
+++ b/tsconfig.json
@@ -56,4 +56,4 @@
"src/wxApi.ts",
"src/wxBackend.ts"
]
-}
+} \ No newline at end of file