mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-04 23:07:06 +00:00
[bootstrap-slider] Fix test failure due to jQuery Events API changes.
This commit is contained in:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user