Changeset 12543
- Timestamp:
- 01/29/2020 08:32:32 PM (6 years ago)
- File:
-
- 1 edited
-
trunk/src/bp-activity/js/mentions.js (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-activity/js/mentions.js
r12522 r12543 88 88 */ 89 89 before_reposition: function( offset ) { 90 // get the iframe, if any, already applied with atwho. 90 // get the iframe, if any, already applied with atwho.js library. 91 91 var caret, 92 92 line, … … 127 127 // Dynamic sizing based on the input area (remove 'px' from end). 128 128 line = parseInt( this.$inputor.css( 'line-height' ).substr( 0, this.$inputor.css( 'line-height' ).length - 2 ), 10 ); 129 if ( !line || line < 5 ) { // sanity check, and catch no line-height.129 if ( !line || line < 5 ) { // Sanity check, and catch no line-height. 130 130 line = 19; 131 131 }
Note: See TracChangeset
for help on using the changeset viewer.