- Timestamp:
- 01/23/2014 06:02:06 PM (12 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-admin/js/dashboard.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/js/dashboard.js
r26813 r27021 160 160 var $this = $(this), 161 161 // is to ensure that the height of a final trailing newline is included. 162 textareaContent = $this.val() .replace(/\n/g, '<br>')+ ' ',162 textareaContent = $this.val() + ' ', 163 163 // 2px is for border-top & border-bottom 164 cloneHeight = clone.css('width', $this.css('width')). html(textareaContent).outerHeight() + 2;164 cloneHeight = clone.css('width', $this.css('width')).text(textareaContent).outerHeight() + 2; 165 165 166 166 // Default to having scrollbars
Note: See TracChangeset
for help on using the changeset viewer.