We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aeb9f80 commit fe329d6Copy full SHA for fe329d6
assets/javascripts/views/sidebar/sidebar_hover.js
@@ -12,13 +12,6 @@ app.views.SidebarHover = class SidebarHover extends app.View {
12
13
static routes = { after: "onRoute" };
14
15
- constructor(el) {
16
- super(el);
17
- if (!isPointerEventsSupported()) {
18
- delete this.constructor.events.mouseover;
19
- }
20
21
-
22
show(el) {
23
if (el !== this.cursor) {
24
this.hide();
@@ -115,9 +108,3 @@ app.views.SidebarHover = class SidebarHover extends app.View {
115
108
116
109
}
117
110
};
118
119
-var isPointerEventsSupported = function () {
120
- const el = document.createElement("div");
121
- el.style.cssText = "pointer-events: auto";
122
- return el.style.pointerEvents === "auto";
123
-};
0 commit comments