Skip to content

Add support for jQuery UI 1.12 API #893

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Update code to support jQuery UI 1.12
  • Loading branch information
mdprw authored Aug 10, 2016
commit e727977ca7afa4a04a655eae26ce7005dbc2191d
8 changes: 4 additions & 4 deletions src/jquery-ui-sliderAccess.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@
$buttons.children('button').each(function(j, jobj){
var $jt = $(this);
$jt.button({
text: o.text,
icons: { primary: $jt.data('icon') }
showLabel: o.text,
icon: $jt.data('icon')
})
.click(function(e){
var step = $jt.data('step'),
Expand Down Expand Up @@ -72,7 +72,7 @@
$t[o.where]($buttons);

if(o.buttonset){
$buttons.removeClass('ui-corner-right').removeClass('ui-corner-left').buttonset();
$buttons.removeClass('ui-corner-right').removeClass('ui-corner-left').controlgroup();
$buttons.eq(0).addClass('ui-corner-left');
$buttons.eq(1).addClass('ui-corner-right');
}
Expand All @@ -88,4 +88,4 @@
}
});

})(jQuery);
})(jQuery);