[bootstrap-slider] Fix test failure due to jQuery Events API changes.

This commit is contained in:
Leonard Thieu
2018-11-24 09:43:05 -05:00
parent b6bb6a64fd
commit 5f6b28023b
@@ -42,7 +42,7 @@ $(() => {
$('#ex7').slider();
$('#ex7-enabled').click(function(this: HTMLInputElement) {
$<HTMLInputElement>('#ex7-enabled').click(function() {
if (this.checked) {
// With JQuery
$('#ex7').slider('enable');