Changeset 278 for trunk


Ignore:
Timestamp:
07/19/05 23:16:09 (14 years ago)
Author:
gogo
Message:

Couple of missing 'px' caused problem in Mozilla - #404

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/htmlarea.js

    r277 r278  
    9696    this._initial_ta_size = 
    9797    { 
    98       w: textarea.style.width ? textarea.style.width : textarea.offsetWidth, 
    99       h: textarea.style.height ? textarea.style.height : textarea.offsetHeight 
     98      w: textarea.style.width ? textarea.style.width   : (textarea.offsetWidth + 'px'), 
     99      h: textarea.style.height ? textarea.style.height : (textarea.offsetHeight + 'px') 
    100100    } 
    101101 
Note: See TracChangeset for help on using the changeset viewer.