Skip to content

Commit 4e3b327

Browse files
committed
#8 JS asset doesn't work in IE
- using jQuery's `$.Event` constructor instead of `Event` constructor for IE compability
1 parent 57f0e9c commit 4e3b327

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/assets/async.nette.ajax.js

Lines changed: 1 addition & 1 deletion
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 Event('asyncLoad'));
20+
}, $this, $.Event('asyncLoad'));
2121
});
2222
}
2323
});

0 commit comments

Comments
 (0)