Title: JS bug
Last modified: August 31, 2016

---

# JS bug

 *  [equistango](https://wordpress.org/support/users/equistango/)
 * (@equistango)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/js-bug-2/)
 * I think I’ve found a bug. The following code in management.js is causing my site
   to display incorrectly.
 *     ```
       setTimeout(function(){
               $('body').width($('body').width()+1).width('auto');
           }, 500);
       ```
   
 * This fixes the problem:
 *     ```
       setTimeout(function(){
               oldwidth = $('body').width();
               $('body').width($('body').width()+1).width(oldwidth);
           }, 500);
       ```
   
 * Regards, and thanks for this great plugin.
 * [https://wordpress.org/plugins/file-away/](https://wordpress.org/plugins/file-away/)

The topic ‘JS bug’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/file-away_e3e2e1.svg)
 * [File Away](https://wordpress.org/plugins/file-away/)
 * [Support Threads](https://wordpress.org/support/plugin/file-away/)
 * [Active Topics](https://wordpress.org/support/plugin/file-away/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/file-away/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/file-away/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [equistango](https://wordpress.org/support/users/equistango/)
 * Last activity: [10 years, 4 months ago](https://wordpress.org/support/topic/js-bug-2/)
 * Status: not resolved