Skip to content

Commit

Permalink
Merge branch 'fix/last-move-down-btn' of https://github.com/sueddeuts…
Browse files Browse the repository at this point in the history
…che/json-editor into sueddeutsche-fix/last-move-down-btn
  • Loading branch information
jdorn committed Feb 22, 2015
2 parents fee5e6a + 0ce8744 commit ee4a6e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/editors/array.js
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ JSONEditor.defaults.editors.array = JSONEditor.AbstractEditor.extend({

$each(this.rows,function(i,editor) {
// Hide the move down button for the last row
if(editor.movedown_buttons) {
if(editor.movedown_button) {
if(i === self.rows.length - 1) {
editor.movedown_button.style.display = 'none';
}
Expand Down

0 comments on commit ee4a6e6

Please sign in to comment.