X-Git-Url: https://svn.cri.ensmp.fr/git/Portfolio.git/blobdiff_plain/4d5ba04bc322584f7837abf736eb9e414bfc0e44..334acf5aa6d09c235efd7829a155e3fb0b61eff6:/skins/photo_film_viewer.js?ds=sidebyside

diff --git a/skins/photo_film_viewer.js b/skins/photo_film_viewer.js
index 0b1fde3..0a1cab9 100644
--- a/skins/photo_film_viewer.js
+++ b/skins/photo_film_viewer.js
@@ -722,8 +722,8 @@ FilmSlider.prototype.refreshImage = function() {
 
 FilmSlider.prototype.updateBreadcrumbs = function(url, title) {
 	if (this.hasBreadcrumbs) {
-		this.lastBCElement.href = element.getAttribute('lastBcUrl');
-		this.lastBCElement.innerHTML = element.getAttribute('img_id');
+		this.lastBCElement.href = url;
+		this.lastBCElement.innerHTML = title;
 	}
 };