Skip to content

Commit

Permalink
Add comments to document changes in CMB2#1300
Browse files Browse the repository at this point in the history
  • Loading branch information
jtsternberg committed Sep 6, 2019
1 parent db94508 commit d240ee6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions js/cmb2.js
Original file line number Diff line number Diff line change
Expand Up @@ -1025,6 +1025,9 @@ window.CMB2 = window.CMB2 || {};
$repeatables.sortable({
items : '.cmb-repeat-row',
cursor: 'move',
// The default "cancel" attributes are: "input,textarea,button,select,option".
// We are appending .CodeMirror.
// See https://api.jqueryui.com/sortable/#option-cancel
cancel: 'input,textarea,button,select,option,.CodeMirror'
});
}
Expand Down

0 comments on commit d240ee6

Please sign in to comment.