Make WordPress Core

Changeset 24254


Ignore:
Timestamp:
05/14/2013 05:35:26 PM (12 years ago)
Author:
ocean90
Message:

Revisions UI: Reduce the min width of a tick. props adamsilverstein. see #23901.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/js/revisions.js

    r24253 r24254  
    462462            tickWidth   = Math.floor( sliderWidth / ( sliderMax - adjustMax ) );
    463463            tickWidth   = ( tickWidth > 50 ) ? 50 : tickWidth; // set minimum and maximum widths for tick marks
    464             tickWidth   = ( tickWidth < 10 ) ? 10 : tickWidth;
     464            tickWidth   = ( tickWidth < 6 ) ? 6 : tickWidth;
    465465            sliderWidth = tickWidth * ( sliderMax - adjustMax ); // calculate the slider width
    466466            aTickWidth  = $( '.revision-tick' ).width();
Note: See TracChangeset for help on using the changeset viewer.