\r
// Set the panels width depending on the memberlist visibility\r
if (el_memberlists.css('display') != 'none') {\r
- // Handle + panels to the side of the memberlist\r
- el_panels.css('right', el_memberlists.outerWidth(true) + el_resize_handle.outerWidth(true));\r
- el_resize_handle.css('left', el_memberlists.position().left - el_resize_handle.outerWidth(true));\r
+ // Panels to the side of the memberlist\r
+ el_panels.css('right', el_memberlists.outerWidth(true));\r
+ // The resize handle sits overlapping the panels and memberlist\r
+ el_resize_handle.css('left', el_memberlists.position().left - (el_resize_handle.outerWidth(true) / 2));\r
} else {\r
- // Memberlist is hidden so handle + panels to the right edge\r
- el_panels.css('right', el_resize_handle.outerWidth(true));\r
+ // Memberlist is hidden so panels to the right edge\r
+ el_panels.css('right', 0);\r
+ // And move the handle just out of sight to the right\r
el_resize_handle.css('left', el_panels.outerWidth(true));\r
}\r
},\r