Changeset 838 for trunk/plugins


Ignore:
Timestamp:
05/16/07 18:05:19 (12 years ago)
Author:
ray
Message:

Ticket #543: Stylist throws an error in IE(7?) when switching between modes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/plugins/Stylist/stylist.js

    r805 r838  
    550550          break; 
    551551          case 'hide': 
    552           stylist.resize(); 
     552            stylist.resize(); 
    553553          break; 
    554554        } 
     
    584584    newSize -= panelContainer.childNodes[i].offsetHeight; 
    585585  } 
    586   editor._stylist.style.height = newSize-5 + 'px'; 
    587   this.main.style.height = newSize - this.caption.offsetHeight -5 + 'px'; 
     586  editor._stylist.style.height = newSize + 'px'; 
     587  this.main.style.height = newSize - this.caption.offsetHeight + 'px'; 
    588588} 
    589589 
Note: See TracChangeset for help on using the changeset viewer.