+ Hey there!
+ Looks like there have been some updates since you've last visit.
+
+ Check out the changelog below.
+
+ ${until(this.getChangelog(), html``)}
+
+
+ Don't show again
+
+
+ `;
+ }
+
+ _dontShowSwitchChange(e: CustomEvent) {
+ this.dontShowAgain = this.dontShowSwitch.checked;
+ }
+}
diff --git a/www/src/ts/utils.ts b/www/src/ts/utils.ts
index e7e7b07..62c94b6 100644
--- a/www/src/ts/utils.ts
+++ b/www/src/ts/utils.ts
@@ -13,9 +13,7 @@ export function docReady(fn: () => void) {
}
function isZeroNegative(zero: number) {
- const isZero = zero === 0;
- const isNegative = 1 / zero === -Infinity;
- return isNegative && isZero;
+ return Object.is(zero, -0)
}
export function numberToString(n: number): string {