rem: var is_collapsed = document.getElementById('sidebar-box').getAttribute('collapsed') == 'true' ? true : false; 
add: var is_collapsed = document.getElementById('sidebar-box').getAttribute('collapsed') == 'true'; 
context: function SidebarFinishClick() {  // XXX Semi-hack for bug #16516.  // If we had the proper drag event listener, we would not need this  // timeout. The timeout makes sure the width is written to disk after  // the sidebar-box gets the newly dragged width.  setTimeout("persist_width()",100);  var is_collapsed = document.getElementById('sidebar-box').getAttribute('collapsed') == 'true' ? true : false;  debug("collapsed: " + is_collapsed);  if (is_collapsed != sidebarObj.collapsed) {    if (gMustInit)      sidebar_overlay_init();    sidebarObj.panels.refresh();  }}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/087f846686324212a3533b07185f6b670dc4fc45/sidebarOverlay.js/buggy/suite/common/sidebar/sidebarOverlay.js