diff --git a/javascript/FieldEditor.js b/javascript/FieldEditor.js index 6d998d4..5e9b14e 100644 --- a/javascript/FieldEditor.js +++ b/javascript/FieldEditor.js @@ -47,8 +47,8 @@ // Make sure gridfield buttons stick to top of page when user scrolls down stickyHeaderInterval = setInterval(function () { var offsetTop = fieldEditor.offset().top; - $buttonrow.width(self.width()); - if (offsetTop > navHeight || offsetTop === 0) { + $buttonrow.width('100%'); + if (offsetTop > navHeight || offsetTop === 0) { $buttonrow.removeClass('stickyButtons'); } else { $buttonrow.addClass('stickyButtons');