Changeset 27022
- Timestamp:
- 01/23/2014 06:08:47 PM (12 years ago)
- Location:
- branches/3.8
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
src/wp-admin/js/dashboard.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/3.8
-
branches/3.8/src/wp-admin/js/dashboard.js
r27013 r27022 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 164 cloneHeight = clone.css('width', $this.css('width')).text(textareaContent).outerHeight() + 2;
Note: See TracChangeset
for help on using the changeset viewer.