Skip to content

Commit

Permalink
Merge branch 'brettz9-float'
Browse files Browse the repository at this point in the history
  • Loading branch information
jdorn committed Jul 30, 2014
2 parents 2201929 + b969bca commit ce00976
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/theme.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ JSONEditor.AbstractTheme = Class.extend({
getFloatRightLinkHolder: function() {
var el = document.createElement('div');
el.style = el.style || {};
el.style.float = 'right';
el.style['margin-left'] = '10px';
el.style.cssFloat = 'right';
el.style.marginLeft = '10px';
return el;
},
getModal: function() {
Expand Down
2 changes: 1 addition & 1 deletion src/themes/bootstrap3.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ JSONEditor.defaults.themes.bootstrap3 = JSONEditor.AbstractTheme.extend({
group.style.marginTop = '0';
group.appendChild(label);
input.style.position = 'relative';
input.style.float = 'left';
input.style.cssFloat = 'left';
}
else {
group.className += ' form-group';
Expand Down

0 comments on commit ce00976

Please sign in to comment.