Skip to content

Commit 57f0e9c

Browse files
authored
Merge pull request #9 from peckadesign/8-ie-compatibility
JS asset doesn't work in IE
2 parents 5314956 + f284f7f commit 57f0e9c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/assets/async.nette.ajax.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
$.nette.ajax({
1818
url: $this.data('asyncLink') || $this.attr('href'),
1919
off: ['history', 'unique']
20-
}, $this, new CustomEvent('asyncLoad'));
20+
}, $this, new Event('asyncLoad'));
2121
});
2222
}
2323
});

0 commit comments

Comments
 (0)