Changeset 2615755
- Timestamp:
- 10/18/2021 11:01:51 AM (3 years ago)
- Location:
- jnext-timeline-blocks/trunk/src/block/jnext-content-timeline
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
jnext-timeline-blocks/trunk/src/block/jnext-content-timeline/edit.js
r2615750 r2615755 120 120 } ], 121 121 } ); 122 timelineConnector.jnextTimelineContent_back(this.props.clientId , jtb_key);122 timelineConnector.jnextTimelineContent_back(this.props.clientId); 123 123 }; 124 124 -
jnext-timeline-blocks/trunk/src/block/jnext-content-timeline/timelineConnector.js
r2615750 r2615755 1 function jnextTimelineContent_back(id , jtb_key = '') {1 function jnextTimelineContent_back(id) { 2 2 3 3 var timeline = jQuery(".jnext-content-timeline").parents("#block-" + id); … … 31 31 var horizontal_arrows = jQuery('.prev-arrow, .next-arrow').outerHeight() / 2; 32 32 var parent_right; 33 if('' != jtb_key) 34 { 35 36 initJnextContentTimeline(horizontal_item, 3); 37 38 }else{ 39 initJnextContentTimeline(horizontal_item, 0); 40 } 33 34 initJnextContentTimeline(horizontal_item); 41 35 42 36 horizontal_item.find('.jnext-timeline-content:nth-child(odd)').each(function () { … … 63 57 parent_right = hlast_item_right - timeline_start_icon.top; 64 58 $last_item = parent_right + timeline_end_icon.top; 65 59 66 60 jQuery('.prev-arrow, .next-arrow').css('top', (+(oddTimelineHighestBox + ($icon_class.outerHeight() / 2)) + (+remove_spacing) - horizontal_arrows)); 67 61
Note: See TracChangeset
for help on using the changeset viewer.