Skip to content

Commit

Permalink
Merge pull request #484 from alphagov/depricated
Browse files Browse the repository at this point in the history
Update SelectionButtons to new interface
  • Loading branch information
tommyp committed Nov 18, 2014
2 parents 8632f77 + df10fa4 commit e39a05e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/assets/javascripts/core.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ $(document).ready(function() {

// for radio buttons and checkboxes
var $buttons = $("label.selectable input[type='radio'], label.selectable input[type='checkbox']");
GOVUK.selectionButtons($buttons);
new GOVUK.SelectionButtons($buttons);
});


0 comments on commit e39a05e

Please sign in to comment.