The easy-to-use open source Business Intelligence and Embedded Analytics tool that lets everyone work with data :bar_chart:
TypeScript analyticsbibusiness-intelligencebusinessintelligenceclojuredashboarddatadata-analysisdata-visualizationdatabasemetabasemysqlpostgrespostgresqlreportingslacksql-editorvisualization
diff --git a/node_modules/@loki/browser/src/disable-pointer-events.js b/node_modules/@loki/browser/src/disable-pointer-events.js
index ea8f45c..2663c4b 100644
--- a/node_modules/@loki/browser/src/disable-pointer-events.js
+++ b/node_modules/@loki/browser/src/disable-pointer-events.js
@@ -1,17 +1,4 @@
const disablePointerEvents = (window) => {
- const DISABLE_POINTER_EVENTS_STYLE = `
- * {
- pointer-events: none !important;
- }
- `;
-
- // Disable pointer events to avoid having hover styles
- // for elements at the 0 by 0 position.
- window.document.addEventListener('DOMContentLoaded', () => {
- const styleElement = window.document.createElement('style');
- window.document.documentElement.appendChild(styleElement);
- styleElement.sheet.insertRule(DISABLE_POINTER_EVENTS_STYLE);
- });
};
module.exports = disablePointerEvents;