Changeset 29982
- Timestamp:
- Oct 10, 2014, 2:47:21 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/Fotorama/template/fotorama-content.tpl
r29980 r29982 37 37 history.replaceState(null, null, fotorama.activeFrame['url']); 38 38 {else} 39 history.replaceState(null, null, fotorama.activeFrame['url']+ '&slideshow=');39 history.replaceState(null, null, fotorama.activeFrame['url']+(fotorama.activeFrame['url'].indexOf('?')==-1 ? '?' : '&')+'slideshow='); 40 40 jQuery('#slideshow .browsePath a').attr('href', fotorama.activeFrame['url']); 41 41 {/if} 42 42 43 jQuery('a.fotorama__info-icon').attr('href', fotorama.activeFrame['url']+ '&slidestop=');43 jQuery('a.fotorama__info-icon').attr('href', fotorama.activeFrame['url']+(fotorama.activeFrame['url'].indexOf('?')==-1 ? '?' : '&')+'slidestop='); 44 44 45 45 jQuery('#slideshow .showtitle').text(fotorama.activeFrame['caption']); … … 85 85 history.replaceState(null, null, fotorama.activeFrame['url']); 86 86 {else} 87 history.replaceState(null, null, fotorama.activeFrame['url']+ '&slideshow=');87 history.replaceState(null, null, fotorama.activeFrame['url']+(fotorama.activeFrame['url'].indexOf('?')==-1 ? '?' : '&')+'slideshow='); 88 88 jQuery('#slideshow .browsePath a').attr('href', fotorama.activeFrame['url']); 89 89 {/if}
Note: See TracChangeset
for help on using the changeset viewer.