We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c83bc99 commit 78c835eCopy full SHA for 78c835e
js/rpg_core/Utils.js
@@ -149,7 +149,7 @@ Utils.isSupportPassiveEvent = function() {
149
// https://github.com/WICG/EventListenerOptions/blob/gh-pages/explainer.md#feature-detection
150
var passive = false;
151
var options = Object.defineProperty({}, "passive", {
152
- get() { passive = true; }
+ get: function() { passive = true; }
153
});
154
window.addEventListener("test", null, options);
155
Utils._supportPassiveEvent = passive;
0 commit comments