1
0
mirror of https://github.com/home-assistant/frontend.git synced 2025-12-20 02:38:53 +00:00

Load and set Polymer settings asynchronously (#18278)

This commit is contained in:
Steve Repsher
2023-10-19 11:09:35 -04:00
committed by GitHub
parent 49f88a98a5
commit 02a212a47d
5 changed files with 18 additions and 18 deletions

View File

@@ -1,13 +1,13 @@
// Compat needs to be first import
import "../resources/compatibility";
import { setCancelSyntheticClickEvents } from "@polymer/polymer/lib/utils/settings";
import "../onboarding/ha-onboarding";
import "../resources/safari-14-attachshadow-patch";
import "../resources/array.flat.polyfill";
import("../resources/ha-style");
setCancelSyntheticClickEvents(false);
import("@polymer/polymer/lib/utils/settings").then(
({ setCancelSyntheticClickEvents }) => setCancelSyntheticClickEvents(false)
);
declare global {
interface Window {