From 4e3b32762ebec1f320152c944aceca07682190f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Radek=20=C5=A0er=C3=BD?= Date: Mon, 18 Sep 2017 10:39:00 +0200 Subject: [PATCH] #8 JS asset doesn't work in IE - using jQuery's `$.Event` constructor instead of `Event` constructor for IE compability --- src/assets/async.nette.ajax.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/assets/async.nette.ajax.js b/src/assets/async.nette.ajax.js index c3cba83..844e5b6 100644 --- a/src/assets/async.nette.ajax.js +++ b/src/assets/async.nette.ajax.js @@ -17,7 +17,7 @@ $.nette.ajax({ url: $this.data('asyncLink') || $this.attr('href'), off: ['history', 'unique'] - }, $this, new Event('asyncLoad')); + }, $this, $.Event('asyncLoad')); }); } });