We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b04eca9 + 7a26d99 commit 0891d42Copy full SHA for 0891d42
1 file changed
app/views/render_async/_request_vanilla.js.erb
@@ -6,6 +6,7 @@
6
<% end %>
7
8
function createEvent(name) {
9
+ var event = null;
10
if (typeof(Event) === 'function') {
11
event = new Event(name);
12
} else {
0 commit comments