diff options
Diffstat (limited to 'plugins/Morpheus/javascripts/layout.js')
-rw-r--r-- | plugins/Morpheus/javascripts/layout.js | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/plugins/Morpheus/javascripts/layout.js b/plugins/Morpheus/javascripts/layout.js index c155945ea9..8227b36e0d 100644 --- a/plugins/Morpheus/javascripts/layout.js +++ b/plugins/Morpheus/javascripts/layout.js @@ -6,21 +6,12 @@ */ $(function () { - var contentUser = $('#content.user'); - function adjustSize(content) { - var width = $('body').width() - content.offset().left - 10; + var width = $('body').width() - content.offset().left - 16; content.css('width', width + 'px'); } - if (contentUser.length) { - adjustSize(contentUser); - $(window).resize(function () { - adjustSize(contentUser); - }); - } - var contentAdmin = $('#content.admin'); if (contentAdmin.length) { |