More bug fixes for Sleeve/Resleeve features. Rebalancing for Sleeve/Resleeve and stock market. Added an option to remove source files in the dev menu

This commit is contained in:
danielyxie
2019-01-21 20:39:52 -08:00
parent 5573e778bb
commit a2237d4319
24 changed files with 2536 additions and 2145 deletions
+2
View File
@@ -1,11 +1,13 @@
export function getSelectValue(selector: HTMLSelectElement | null): string {
if (selector == null) { return ""; }
if (selector.options.length <= 0) { return ""; }
if (selector.selectedIndex < 0) { return ""; }
return selector.options[selector.selectedIndex].value;
}
export function getSelectText(selector: HTMLSelectElement | null): string {
if (selector == null) { return ""; }
if (selector.options.length <= 0) { return ""; }
if (selector.selectedIndex < 0) { return ""; }
return selector.options[selector.selectedIndex].text;
}