Skip to:
Content

BuddyPress.org

Changeset 12543


Ignore:
Timestamp:
01/29/2020 08:32:32 PM (6 years ago)
Author:
imath
Message:

Activity: fix JavaScript code standards in inline comments

Props passoniate

See #8222

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-activity/js/mentions.js

    r12522 r12543  
    8888                 */
    8989                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.
    9191                    var caret,
    9292                            line,
     
    127127                    // Dynamic sizing based on the input area (remove 'px' from end).
    128128                    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.
    130130                        line = 19;
    131131                    }
Note: See TracChangeset for help on using the changeset viewer.