Changeset 24254
- Timestamp:
- 05/14/2013 05:35:26 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/js/revisions.js
r24253 r24254 462 462 tickWidth = Math.floor( sliderWidth / ( sliderMax - adjustMax ) ); 463 463 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; 465 465 sliderWidth = tickWidth * ( sliderMax - adjustMax ); // calculate the slider width 466 466 aTickWidth = $( '.revision-tick' ).width();
Note: See TracChangeset
for help on using the changeset viewer.