Make WordPress Core

Ticket #23901: 23901.9.diff

File 23901.9.diff, 679 bytes (added by adamsilverstein, 12 years ago)

reduce min width of tick marks to 6px

  • wp-admin/js/revisions.js

     
    441441                        adjustMax   = Diff.singleRevision ? 0 : 1;
    442442                        tickWidth   = Math.floor( sliderWidth / ( sliderMax - adjustMax ) );
    443443                        tickWidth   = ( tickWidth > 50 ) ? 50 : tickWidth; // set minimum and maximum widths for tick marks
    444                         tickWidth   = ( tickWidth < 10 ) ? 10 : tickWidth;
     444                        tickWidth   = ( tickWidth < 6 ) ? 6 : tickWidth;
    445445                        sliderWidth = tickWidth * ( sliderMax - adjustMax ); //calculate the slider width
    446446                        aTickWidth  = $( '.revision-tick' ).width();
    447447